Exception: Cucumber::StepMother::Undefined

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cucumber/step_mother.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(step_name) ⇒ Undefined

Returns a new instance of Undefined.



15
16
17
18
# File 'lib/cucumber/step_mother.rb', line 15

def initialize(step_name)
  super %{Undefined step: "#{step_name}"}
  @step_name = step_name
end

Instance Attribute Details

#step_nameObject (readonly)

Returns the value of attribute step_name.



13
14
15
# File 'lib/cucumber/step_mother.rb', line 13

def step_name
  @step_name
end