Method: Common::Color#echo_ok

Defined in:
lib/common/color.rb

#echo_ok(stdout = STDOUT) ⇒ Object

Echo OK in the bash screen.

Parameters:

  • stdout (defaults to: STDOUT)

    The output standard.

Author:

  • tmarmin



155
156
157
# File 'lib/common/color.rb', line 155

def echo_ok(stdout = STDOUT)
  stdout.print color_white("[  ", true) + color_green("OK") + color_white("  ]\n", true)
end