Module: Flows::Railway::DSL Private
- Includes:
- Util::InheritableSingletonVars::DupStrategy.make_module( '@steps' => StepList.new )
- Included in:
- Flows::Railway
- Defined in:
- lib/flows/railway/dsl.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- SingletonVarsSetup =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Flows::Util::InheritableSingletonVars::DupStrategy.make_module( '@steps' => StepList.new )
Instance Attribute Summary collapse
- #steps ⇒ Object readonly private
Instance Method Summary collapse
Instance Attribute Details
#steps ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5 6 7 |
# File 'lib/flows/railway/dsl.rb', line 5 def steps @steps end |
Instance Method Details
#step(name, lambda = nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/flows/railway/dsl.rb', line 13 def step(name, lambda = nil) steps.add(name: name, lambda: lambda) end |