Class: Rubypack::DefaultOutput

Inherits:
QuietOutput show all
Defined in:
lib/rubypack/shell_output.rb

Overview

Class used to display all the normal messages to stdout and stderr.

Direct Known Subclasses

VerboseOutput

Instance Method Summary collapse

Methods inherited from QuietOutput

#step, #verbose

Instance Method Details

#error(*messages) ⇒ Object



35
36
37
# File 'lib/rubypack/shell_output.rb', line 35

def error(*messages)
  $stderr.puts(messages.join(' '))
end

#status(*messages) ⇒ Object



31
32
33
# File 'lib/rubypack/shell_output.rb', line 31

def status(*messages)
  $stdout.puts(messages.join(' '))
end