Class: Procrastinator::Scheduler::ThreadedWorking::MultiIO

Inherits:
Object
  • Object
show all
Defined in:
lib/procrastinator/scheduler.rb

Overview

IO Multiplexer that forwards calls to a list of IO streams.

Instance Method Summary collapse

Constructor Details

#initialize(*stream) ⇒ MultiIO

Returns a new instance of MultiIO.



226
227
228
# File 'lib/procrastinator/scheduler.rb', line 226

def initialize(*stream)
   @streams = stream
end