Method: Common::Color#color_yellow

Defined in:
lib/common/color.rb

#color_yellow(text, bold = false) ⇒ Object

Colorize the text in yellow.

Parameters:

  • text

    The text to color.

  • bold (defaults to: false)

    Precise if we want to set the text in bold.

Author:

  • tmarmin



148
149
150
# File 'lib/common/color.rb', line 148

def color_yellow(text, bold=false)
  return colorize_text(text, 33, bold)
end