Exception: Cucumber::Undefined
- Defined in:
- lib/cucumber/step_mother.rb
Instance Attribute Summary collapse
-
#step_name ⇒ Object
readonly
Returns the value of attribute step_name.
Instance Method Summary collapse
-
#initialize(step_name) ⇒ Undefined
constructor
A new instance of Undefined.
- #nested! ⇒ Object
- #nested? ⇒ Boolean
Constructor Details
#initialize(step_name) ⇒ Undefined
Returns a new instance of Undefined.
9 10 11 12 |
# File 'lib/cucumber/step_mother.rb', line 9 def initialize(step_name) super %{Undefined step: "#{step_name}"} @step_name = step_name end |
Instance Attribute Details
#step_name ⇒ Object (readonly)
Returns the value of attribute step_name.
7 8 9 |
# File 'lib/cucumber/step_mother.rb', line 7 def step_name @step_name end |
Instance Method Details
#nested! ⇒ Object
14 15 16 |
# File 'lib/cucumber/step_mother.rb', line 14 def nested! @nested = true end |
#nested? ⇒ Boolean
18 19 20 |
# File 'lib/cucumber/step_mother.rb', line 18 def nested? @nested end |