Class: Roast::Workflow::StepExecutors::BaseStepExecutor
- Inherits:
-
Object
- Object
- Roast::Workflow::StepExecutors::BaseStepExecutor
- Defined in:
- lib/roast/workflow/step_executors/base_step_executor.rb
Direct Known Subclasses
Instance Method Summary collapse
- #execute(step) ⇒ Object
-
#initialize(workflow_executor) ⇒ BaseStepExecutor
constructor
A new instance of BaseStepExecutor.
Constructor Details
#initialize(workflow_executor) ⇒ BaseStepExecutor
Returns a new instance of BaseStepExecutor.
7 8 9 10 11 |
# File 'lib/roast/workflow/step_executors/base_step_executor.rb', line 7 def initialize(workflow_executor) @workflow_executor = workflow_executor @workflow = workflow_executor.workflow @config_hash = workflow_executor.config_hash end |
Instance Method Details
#execute(step) ⇒ Object
13 14 15 |
# File 'lib/roast/workflow/step_executors/base_step_executor.rb', line 13 def execute(step) raise NotImplementedError, "Subclasses must implement execute" end |