Method: Fate::Output::IOMux#initialize

Defined in:
lib/fate/output.rb

#initialize(options) ⇒ IOMux

Returns a new instance of IOMux.



49
50
51
52
53
54
55
56
57
# File 'lib/fate/output.rb', line 49

def initialize(options)
  @last_identifier = nil
  if file = options[:file]
    @io = File.new(file, "a")
  elsif io = options[:io]
    @io = io
  end
  @handlers = {}
end