Class: OFlow::Actors::Ignore
- Inherits:
-
OFlow::Actor
- Object
- OFlow::Actor
- OFlow::Actors::Ignore
- Defined in:
- lib/oflow/actors/ignore.rb
Overview
Does nothing but can be used to terminate a Link to assure all output from a Task terminate somewhere.
Instance Attribute Summary
Attributes inherited from OFlow::Actor
Instance Method Summary collapse
-
#initialize(task, options) ⇒ Ignore
constructor
A new instance of Ignore.
- #perform(op, box) ⇒ Object
- #with_own_thread ⇒ Object
Methods inherited from OFlow::Actor
#busy?, #inputs, #options, #outputs, #set_option
Constructor Details
#initialize(task, options) ⇒ Ignore
Returns a new instance of Ignore.
8 9 10 |
# File 'lib/oflow/actors/ignore.rb', line 8 def initialize(task, ) super end |
Instance Method Details
#perform(op, box) ⇒ Object
12 13 14 |
# File 'lib/oflow/actors/ignore.rb', line 12 def perform(op, box) # ignore end |
#with_own_thread ⇒ Object
16 17 18 |
# File 'lib/oflow/actors/ignore.rb', line 16 def with_own_thread() false end |