class Cucumber::AmbiguousStepMatch

Public Class Methods

new(error) click to toggle source
# File lib/cucumber/step_match.rb, line 149
def initialize(error)
  @error = error
end

Public Instance Methods

activate(test_step) click to toggle source
# File lib/cucumber/step_match.rb, line 153
def activate(test_step)
  return test_step.with_action { raise @error }
end