Parent

Methods

Class Index [+]

Quicksearch

Cucumber::Ambiguous

Raised when a step matches 2 or more StepDefinitions

Public Class Methods

new(step_name, step_definitions, used_guess) click to toggle source
    # File lib/cucumber/step_mother.rb, line 33
33:     def initialize(step_name, step_definitions, used_guess)
34:       message = "Ambiguous match of \"#{step_name}\":\n\n"
35:       message << step_definitions.map{|sd| sd.backtrace_line}.join("\n")
36:       message << "\n\n"
37:       message << "You can run again with --guess to make Cucumber be more smart about it\n" unless used_guess
38:       super(message)
39:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.