Exception: Cucumber::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.



8
9
10
11
# File 'lib/cucumber/step_mother.rb', line 8

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.



6
7
8
# File 'lib/cucumber/step_mother.rb', line 6

def step_name
  @step_name
end