Class: Spinach::Step
- Inherits:
-
Object
- Object
- Spinach::Step
- Defined in:
- lib/spinach/step.rb
Instance Attribute Summary collapse
-
#keyword ⇒ Object
Returns the value of attribute keyword.
-
#line ⇒ Object
Returns the value of attribute line.
-
#name ⇒ Object
Returns the value of attribute name.
-
#scenario ⇒ Object
Returns the value of attribute scenario.
Instance Method Summary collapse
-
#initialize(scenario) ⇒ Step
constructor
A new instance of Step.
Constructor Details
#initialize(scenario) ⇒ Step
Returns a new instance of Step.
6 7 8 |
# File 'lib/spinach/step.rb', line 6 def initialize(scenario) @scenario = scenario end |
Instance Attribute Details
#keyword ⇒ Object
Returns the value of attribute keyword.
4 5 6 |
# File 'lib/spinach/step.rb', line 4 def keyword @keyword end |
#line ⇒ Object
Returns the value of attribute line.
3 4 5 |
# File 'lib/spinach/step.rb', line 3 def line @line end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/spinach/step.rb', line 4 def name @name end |
#scenario ⇒ Object
Returns the value of attribute scenario.
4 5 6 |
# File 'lib/spinach/step.rb', line 4 def scenario @scenario end |