Method: Toaster::AutomationRun#task_execution_index
- Defined in:
- lib/toaster/model/automation_run.rb
#task_execution_index(task_exec) ⇒ Object
75 76 77 78 79 80 81 82 |
# File 'lib/toaster/model/automation_run.rb', line 75 def task_execution_index(task_exec) task_executions().each_with_index do |e,idx| if e.uuid == task_exec.uuid return idx end end return nil end |