color(text, color, mode_options = {}) private

Set color by using a symbol or one of the defined constants. Set modes by specifying bold, italic, or underline options. Inspired by Highline, this method will automatically clear formatting at the end of the returned String.

Show source
Register or log in to add new notes.