Class: MainChannel

Inherits:
Channel show all
Defined in:
lib/main_channel.rb

Instance Attribute Summary

Attributes inherited from Channel

#channel_out, #sender, #thread

Instance Method Summary collapse

Methods inherited from Channel

#add_subchannel, #initialize, #kill, #new_thread, #process, #read, #remove_subchannel, #write, #write_out

Constructor Details

This class inherits a constructor from Channel

Instance Method Details

#runObject



2
3
4
5
6
# File 'lib/main_channel.rb', line 2

def run
  loop do
    process
  end
end