Class: Influence::Processor
- Inherits:
-
Object
- Object
- Influence::Processor
- Defined in:
- lib/influence/processor.rb
Instance Method Summary collapse
-
#initialize(io) ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize(io) ⇒ Processor
Returns a new instance of Processor.
6 7 8 9 10 11 12 13 |
# File 'lib/influence/processor.rb', line 6 def initialize(io) @io = io loop do @message = @io.readline process respond end end |