Class: Cucumber::StepMatchSearch::AssertUnambiguousMatch

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber_priority/resolve_ambiguous_error.rb,
lib/cucumber_priority/resolve_ambiguous_error.rb

Instance Method Summary collapse

Instance Method Details

#call_with_priority(*args) ⇒ Object



34
35
36
37
38
# File 'lib/cucumber_priority/resolve_ambiguous_error.rb', line 34

def call_with_priority(*args)
  call_without_priority(*args)
rescue Ambiguous => e
  [CucumberPriority::Resolver.resolve_ambiguity_through_priority(e)]
end