Method: Common::Color#echo_fail

Defined in:
lib/common/color.rb

#echo_fail(stdout = STDOUT) ⇒ Object

Echo FAIL in the bash screen.

Parameters:

  • stdout (defaults to: STDOUT)

    The output standard.



162
163
164
# File 'lib/common/color.rb', line 162

def echo_fail(stdout = STDOUT)
  stdout.print color_white("[ ", true) + color_red("FAIL") + color_white(" ]\n", true)
end