Class: Conductor::Workflow::Dsl::LoopCollector
- Inherits:
-
TaskCollector
- Object
- TaskCollector
- Conductor::Workflow::Dsl::LoopCollector
- Defined in:
- lib/conductor/workflow/dsl/workflow_builder.rb
Overview
Helper class for collecting tasks in a loop with iteration access
Instance Method Summary collapse
-
#current_index ⇒ Object
Alias for iteration.
-
#current_item ⇒ Object
Alias for iteration.
-
#iteration ⇒ OutputRef
Access current iteration data within a loop_over block.
Methods inherited from TaskCollector
#initialize, #method_missing, #respond_to_missing?, #wf
Constructor Details
This class inherits a constructor from Conductor::Workflow::Dsl::TaskCollector
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Conductor::Workflow::Dsl::TaskCollector
Instance Method Details
#current_index ⇒ Object
Alias for iteration
1010 1011 1012 |
# File 'lib/conductor/workflow/dsl/workflow_builder.rb', line 1010 def current_index iteration[:index] end |
#current_item ⇒ Object
Alias for iteration
1005 1006 1007 |
# File 'lib/conductor/workflow/dsl/workflow_builder.rb', line 1005 def current_item iteration[:item] end |