Method: Common::Color#printf_blue

Defined in:
lib/common/color.rb

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

Print the text in blue.

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



89
90
91
# File 'lib/common/color.rb', line 89

def printf_blue(text, bold=false, stdout = STDOUT)
  printf_color(text, "1;34", bold, stdout)
end