Class: ConcurrentPipeline::Processors::ActorProcessor::Work

Inherits:
Object
  • Object
show all
Extended by:
PipeActor
Defined in:
lib/concurrent_pipeline/processors/actor_processor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dispatchObject (readonly)

Returns the value of attribute dispatch.



313
314
315
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 313

def dispatch
  @dispatch
end