Method: Common::Color#printf_white

Defined in:
lib/common/color.rb

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

Print the text in white.

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



106
107
108
# File 'lib/common/color.rb', line 106

def printf_white(text, bold=false, stdout = STDOUT)
  printf_color(text, 37, bold, stdout)
end