Class: ConcurrentPipeline::Processors::ActorProcessor::Work
- Inherits:
-
Object
- Object
- ConcurrentPipeline::Processors::ActorProcessor::Work
- Extended by:
- PipeActor
- Defined in:
- lib/concurrent_pipeline/processors/actor_processor.rb
Instance Attribute Summary collapse
-
#dispatch ⇒ Object
readonly
Returns the value of attribute dispatch.
Instance Method Summary collapse
-
#initialize(dispatch) ⇒ Work
constructor
A new instance of Work.
Methods included from PipeActor
default_block, extended, on_blocks, spawn
Constructor Details
#initialize(dispatch) ⇒ Work
Returns a new instance of Work.
314 315 316 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 314 def initialize(dispatch) @dispatch = dispatch end |
Instance Attribute Details
#dispatch ⇒ Object (readonly)
Returns the value of attribute dispatch.
313 314 315 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 313 def dispatch @dispatch end |