Class: Goru::Routines::Channels::Writable
- Inherits:
-
Goru::Routines::Channel
- Object
- Goru::Routine
- Goru::Routines::Channel
- Goru::Routines::Channels::Writable
- Defined in:
- lib/goru/routines/channels/writable.rb
Overview
- public
Instance Attribute Summary
Attributes inherited from Goru::Routine
Instance Method Summary collapse
-
#<<(message) ⇒ Object
[public].
-
#initialize ⇒ Writable
constructor
A new instance of Writable.
Methods inherited from Goru::Routines::Channel
#channel_closed, #channel_read, #channel_received, #channel_reopened
Methods inherited from Goru::Routine
#call, #finished, #reactor=, #result, #sleep, #update, #wake
Constructor Details
#initialize ⇒ Writable
Returns a new instance of Writable.
11 12 13 14 15 |
# File 'lib/goru/routines/channels/writable.rb', line 11 def initialize(...) super update_status end |
Instance Method Details
#<<(message) ⇒ Object
- public
19 20 21 |
# File 'lib/goru/routines/channels/writable.rb', line 19 def <<() @channel << end |