class Cucumber::Undefined

Raised when there is no matching StepDefinition for a step.

Attributes

step_name[R]

Public Class Methods

new(step_name) click to toggle source
# File lib/cucumber/errors.rb, line 6
def initialize(step_name)
  super %{Undefined step: "#{step_name}"}
  @step_name = step_name
end

Public Instance Methods

nested!() click to toggle source
# File lib/cucumber/errors.rb, line 11
def nested!
  @nested = true
end
nested?() click to toggle source
# File lib/cucumber/errors.rb, line 15
def nested?
  @nested
end