Exception: Cucumber::UndefinedDynamicStep

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

Overview

Raised when there is no matching StepDefinition for a step called from within another step definition.

Instance Method Summary collapse

Constructor Details

#initialize(step_name) ⇒ UndefinedDynamicStep

Returns a new instance of UndefinedDynamicStep.



26
27
28
# File 'lib/cucumber/errors.rb', line 26

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