Method: Common::Color#printf_yellow

Defined in:
lib/common/color.rb

#printf_yellow(text, bold = false, stdout = STDOUT) ⇒ Object

Print the text yellow.

Parameters:

  • text

    The text to color.

  • bold (defaults to: false)

    Precise if we want to set the text in bold.

  • stdout (defaults to: STDOUT)

    The output standard.

Author:

  • tmarmin



140
141
142
# File 'lib/common/color.rb', line 140

def printf_yellow(text, bold=false, stdout = STDOUT)
  printf_color(text, 33, bold, stdout)
end