Class: Yawl::Steps::SetDefiner
- Inherits:
-
Object
- Object
- Yawl::Steps::SetDefiner
- Defined in:
- lib/yawl/steps/base.rb
Instance Attribute Summary collapse
-
#step_names ⇒ Object
readonly
Returns the value of attribute step_names.
Instance Method Summary collapse
-
#initialize(name, &block) ⇒ SetDefiner
constructor
A new instance of SetDefiner.
- #run ⇒ Object
- #step(name, &block) ⇒ Object
Constructor Details
#initialize(name, &block) ⇒ SetDefiner
Returns a new instance of SetDefiner.
8 9 10 11 12 |
# File 'lib/yawl/steps/base.rb', line 8 def initialize(name, &block) @name = name @step_names = [] @block = block end |
Instance Attribute Details
#step_names ⇒ Object (readonly)
Returns the value of attribute step_names.
6 7 8 |
# File 'lib/yawl/steps/base.rb', line 6 def step_names @step_names end |