Class: Roast::Workflow::StepExecutors::BaseStepExecutor

Inherits:
Object
  • Object
show all
Defined in:
lib/roast/workflow/step_executors/base_step_executor.rb

Instance Method Summary collapse

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

Raises:

  • (NotImplementedError)


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