Class: DevSuite::Workflow::Step::Loop
- Inherits:
-
Base
- Object
- Utils::Construct::Component::Base
- Base
- DevSuite::Workflow::Step::Loop
- Defined in:
- lib/dev_suite/workflow/step/loop.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name:, iterations:, &action) ⇒ Loop
constructor
A new instance of Loop.
- #run(context) ⇒ Object
Methods inherited from Base
Methods inherited from Utils::Construct::Component::Base
Constructor Details
#initialize(name:, iterations:, &action) ⇒ Loop
Returns a new instance of Loop.
7 8 9 10 |
# File 'lib/dev_suite/workflow/step/loop.rb', line 7 def initialize(name:, iterations:, &action) super(name: name, &action) @iterations = iterations end |