Exception: Spinach::StepNotDefinedException
- Inherits:
-
StandardError
- Object
- StandardError
- Spinach::StepNotDefinedException
- Defined in:
- lib/spinach/exceptions.rb
Overview
This class represents the exception raised when Spinach can’t find a step for a Scenario.
Instance Attribute Summary collapse
-
#feature ⇒ Object
readonly
Returns the value of attribute feature.
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(feature, step) ⇒ StepNotDefinedException
constructor
A new instance of StepNotDefinedException.
Constructor Details
#initialize(feature, step) ⇒ StepNotDefinedException
Returns a new instance of StepNotDefinedException.
38 39 40 41 |
# File 'lib/spinach/exceptions.rb', line 38 def initialize(feature, step) @feature = feature @step = step end |
Instance Attribute Details
#feature ⇒ Object (readonly)
Returns the value of attribute feature.
29 30 31 |
# File 'lib/spinach/exceptions.rb', line 29 def feature @feature end |
#step ⇒ Object (readonly)
Returns the value of attribute step.
29 30 31 |
# File 'lib/spinach/exceptions.rb', line 29 def step @step end |