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.



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

def initialize(*stream)
   @streams = stream
end