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() @last_identifier = nil if file = [:file] @io = File.new(file, "a") elsif io = [:io] @io = io end @handlers = {} end |