Class: Goru::Routines::Channels::Writable

Inherits:
Goru::Routines::Channel show all
Defined in:
lib/goru/routines/channels/writable.rb

Overview

public

Constant Summary

Constants inherited from Goru::Routine

Goru::Routine::STATUS_ERRORED, Goru::Routine::STATUS_FINISHED, Goru::Routine::STATUS_IDLE, Goru::Routine::STATUS_PAUSED, Goru::Routine::STATUS_READY

Instance Attribute Summary

Attributes inherited from Goru::Routine

#debug, #error, #reactor, #state, #status

Instance Method Summary collapse

Methods inherited from Goru::Routines::Channel

#channel_closed, #channel_read, #channel_received, #initialize

Methods inherited from Goru::Routine

#add_observer, #adopted, #call, #finished, #finished?, #initialize, #pause, #ready?, #remove_observer, #result, #resume, #sleep, #update

Constructor Details

This class inherits a constructor from Goru::Routines::Channel

Instance Method Details

#<<(message) ⇒ Object

public


13
14
15
# File 'lib/goru/routines/channels/writable.rb', line 13

def <<(message)
  @channel << message
end