Class: String
Constant Summary
Constants included from Ops::Console
Ops::Console::BG_COLORS, Ops::Console::COLORS, Ops::Console::OPTIONS
Instance Method Summary collapse
Methods included from Ops::Console
bash_exec!, is_bash?, print, random_color, reload!
Instance Method Details
#error ⇒ Object
50 51 52 |
# File 'lib/ops/console.rb', line 50 def error replace Color.print( self , [ :bold, :red ] ) end |
#warning ⇒ Object
54 55 56 |
# File 'lib/ops/console.rb', line 54 def warning replace Color.print( self , [ :bold, :yellow ] ) end |