class Cucumber::Redundant
Raised when 2 or more StepDefinition have the same Regexp
def initialize(step_def_1, step_def_2)
def initialize(step_def_1, step_def_2) message = "Multiple step definitions have the same Regexp:\n\n" message << step_def_1.backtrace_line << "\n" message << step_def_2.backtrace_line << "\n\n" super(message) end