Module: Semmy::Shell
Instance Attribute Summary collapse
-
#silence ⇒ Object
Returns the value of attribute silence.
Instance Method Summary collapse
Instance Attribute Details
#silence ⇒ Object
Returns the value of attribute silence.
7 8 9 |
# File 'lib/semmy/shell.rb', line 7 def silence @silence end |
Instance Method Details
#error(text) ⇒ Object
13 14 15 |
# File 'lib/semmy/shell.rb', line 13 def error(text) say(text, :red) end |
#info(text) ⇒ Object
9 10 11 |
# File 'lib/semmy/shell.rb', line 9 def info(text) say(text, :green) end |
#sub_process_output(text) ⇒ Object
17 18 19 |
# File 'lib/semmy/shell.rb', line 17 def sub_process_output(text) say(text, :yellow) end |