Module: Puter::UI
- Defined in:
- lib/puter/ui.rb
Instance Method Summary collapse
- #error(message, color = :red) ⇒ Object
- #info(message, color = :bold) ⇒ Object
- #remote_stderr(message, color = :orange) ⇒ Object
- #remote_stdout(message, color = :white) ⇒ Object
- #warn(message, color = :yellow) ⇒ Object
Instance Method Details
#error(message, color = :red) ⇒ Object
11 12 13 |
# File 'lib/puter/ui.rb', line 11 def error(, color = :red) say(, color) end |
#info(message, color = :bold) ⇒ Object
3 4 5 |
# File 'lib/puter/ui.rb', line 3 def info(, color = :bold) say(, color) end |
#remote_stderr(message, color = :orange) ⇒ Object
19 20 21 |
# File 'lib/puter/ui.rb', line 19 def remote_stderr(, color = :orange) say(, color) end |
#remote_stdout(message, color = :white) ⇒ Object
15 16 17 |
# File 'lib/puter/ui.rb', line 15 def remote_stdout(, color = :white) say(, color) end |
#warn(message, color = :yellow) ⇒ Object
7 8 9 |
# File 'lib/puter/ui.rb', line 7 def warn(, color = :yellow) say(, color) end |