Method: Commands::StepProcessingCommand#reorder_steps

Defined in:
lib/commands.rb

#reorder_steps(jobflow, sc) ⇒ Object



726
727
728
729
730
731
732
733
# File 'lib/commands.rb', line 726

def reorder_steps(jobflow, sc)
  new_step_commands = sc.dup
  for step_command in sc do
    new_step_commands = step_command.reorder_steps(jobflow, new_step_commands)
  end

  return new_step_commands
end