Module: WorkflowTemplate::Definer::HasActions::Root

Includes:
WorkflowTemplate::Definer::HasActions, Dsl
Included in:
Workflow::ModuleMethods
Defined in:
lib/workflow_template/definer/has_actions/root.rb

Instance Method Summary collapse

Methods included from Dsl

#append_action, #apply, #inside_action, #prepend_action, #remove_action, #replace_action, #wrap_template

Methods included from WorkflowTemplate::Definer::HasActions

#actions, #freeze

Instance Method Details

#prepare_action(action) ⇒ Object



16
17
18
# File 'lib/workflow_template/definer/has_actions/root.rb', line 16

def prepare_action(action)
  action
end

#prepare_actionsObject



12
13
14
# File 'lib/workflow_template/definer/has_actions/root.rb', line 12

def prepare_actions
  actions.map { prepare_action(_1) }
end