Class: EXEL::Processors::RunProcessor
- Inherits:
-
Object
- Object
- EXEL::Processors::RunProcessor
- Defined in:
- lib/exel/processors/run_processor.rb
Overview
Implements the run
instruction.
Instance Method Summary collapse
-
#initialize(context) ⇒ RunProcessor
constructor
Requires
context[:job]
to contain the name of the job to be run. -
#process(_block = nil) ⇒ Object
Runs the specified job with the current context.
Constructor Details
#initialize(context) ⇒ RunProcessor
Requires context[:job]
to contain the name of the job to be run.
8 9 10 |
# File 'lib/exel/processors/run_processor.rb', line 8 def initialize(context) @context = context end |