Class: WorkflowTemplate::Definer::HasActions::Position::At

Inherits:
Position
  • Object
show all
Defined in:
lib/workflow_template/definer/has_actions/position.rb

Instance Method Summary collapse

Instance Method Details

#apply_with_reference(before, action, _reference, after) ⇒ Object



76
77
78
# File 'lib/workflow_template/definer/has_actions/position.rb', line 76

def apply_with_reference(before, action, _reference, after)
  action.nil? ? [*before, *after] : [*before, action, *after]
end