Method: Command::Results::TextFormatter#initialize

Defined in:
lib/command-set/formatter/base.rb

#initialize(out = nil, err = nil) ⇒ TextFormatter

Returns a new instance of TextFormatter.



172
173
174
175
176
# File 'lib/command-set/formatter/base.rb', line 172

def initialize(out = nil, err = nil)
  @out_to = out || ::Command::raw_stdout
  @err_to = err || ::Command::raw_stderr
  super()
end