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