Class: Procrastinator::Scheduler::ThreadedWorking::MultiIO
- Inherits:
-
Object
- Object
- Procrastinator::Scheduler::ThreadedWorking::MultiIO
- Defined in:
- lib/procrastinator/scheduler.rb
Overview
IO Multiplexer that forwards calls to a list of IO streams.
Instance Method Summary collapse
-
#initialize(*stream) ⇒ MultiIO
constructor
A new instance of MultiIO.
Constructor Details
#initialize(*stream) ⇒ MultiIO
Returns a new instance of MultiIO.
225 226 227 |
# File 'lib/procrastinator/scheduler.rb', line 225 def initialize(*stream) @streams = stream end |