Method: Common::Color#color_white

Defined in:
lib/common/color.rb

#color_white(text, bold = false) ⇒ Object

Colorize the text in white.

Parameters:

  • text

    The text to color.

  • bold (defaults to: false)

    Precise if we want to set the text in bold.



114
115
116
# File 'lib/common/color.rb', line 114

def color_white(text, bold=false)
  return colorize_background(colorize_text(text, 37, bold), 16)
end