Method: Common::Color#echo_warn

Defined in:
lib/common/color.rb

#echo_warn(stdout = STDOUT) ⇒ Object

Echo FAIL in the bash screen.

Parameters:

  • stdout (defaults to: STDOUT)

    The output standard.

Author:

  • tmarmin



169
170
171
# File 'lib/common/color.rb', line 169

def echo_warn(stdout = STDOUT)
  stdout.print color_white("[ ", true) + color_yellow("WARN") + color_white(" ]\n", true)
end