class Cucumber::StepMatchSearch::AttemptToGuessAmbiguousMatch

Public Class Methods

new(search) click to toggle source
# File lib/cucumber/step_match_search.rb, line 27
def initialize(search)
  @search = search
end

Public Instance Methods

call(step_name) click to toggle source
# File lib/cucumber/step_match_search.rb, line 31
def call(step_name)
  best_matches(step_name, @search.call(step_name))
end