Method: Cucumber::StepMatchSearch::AssertUnambiguousMatch#call
- Defined in:
- lib/cucumber/step_match_search.rb
permalink #call(step_name) ⇒ Object
20 21 22 23 24 25 |
# File 'lib/cucumber/step_match_search.rb', line 20 def call(step_name) result = @search.call(step_name) raise Cucumber::Ambiguous.new(step_name, result, @configuration.guess?) if result.length > 1 result end |