Module: WorkflowTemplate::Definer::HasActions::Root
Instance Method Summary
collapse
Methods included from Dsl
#append_action, #apply, #inside_action, #prepend_action, #remove_action, #replace_action, #wrap_template
#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_actions ⇒ Object
12
13
14
|
# File 'lib/workflow_template/definer/has_actions/root.rb', line 12
def prepare_actions
actions.map { prepare_action(_1) }
end
|