Class: Cucumber::AmbiguousStepMatch
- Inherits:
-
Object
- Object
- Cucumber::AmbiguousStepMatch
- Defined in:
- lib/cucumber/step_match.rb
Instance Method Summary collapse
- #activate(test_step) ⇒ Object
-
#initialize(error) ⇒ AmbiguousStepMatch
constructor
A new instance of AmbiguousStepMatch.
Constructor Details
#initialize(error) ⇒ AmbiguousStepMatch
Returns a new instance of AmbiguousStepMatch.
146 147 148 |
# File 'lib/cucumber/step_match.rb', line 146 def initialize(error) @error = error end |
Instance Method Details
#activate(test_step) ⇒ Object
150 151 152 |
# File 'lib/cucumber/step_match.rb', line 150 def activate(test_step) test_step.with_action { raise @error } end |