Class: Rubypack::DefaultOutput
- Inherits:
-
QuietOutput
- Object
- QuietOutput
- Rubypack::DefaultOutput
- Defined in:
- lib/rubypack/shell_output.rb
Overview
Class used to display all the normal messages to stdout and stderr.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from QuietOutput
Instance Method Details
#error(*messages) ⇒ Object
35 36 37 |
# File 'lib/rubypack/shell_output.rb', line 35 def error(*) $stderr.puts(.join(' ')) end |
#status(*messages) ⇒ Object
31 32 33 |
# File 'lib/rubypack/shell_output.rb', line 31 def status(*) $stdout.puts(.join(' ')) end |