class Procrastinator::Scheduler::ThreadedWorking::MultiIO

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

Public Class Methods

new(*stream) click to toggle source
# File lib/procrastinator/scheduler.rb, line 226
def initialize(*stream)
   @streams = stream
end

Private Instance Methods

able_streams(method_name) click to toggle source
# File lib/procrastinator/scheduler.rb, line 240
def able_streams(method_name)
   @streams.select { |stream| stream.respond_to?(method_name) }
end