Exception: Macros4Cuke::UnreachableSubstepArgument

Inherits:
Macros4CukeError show all
Defined in:
lib/macros4cuke/exceptions.rb

Overview

Raised when one defines an argument name in a macro-step's phrase and that argument name does not appear in any sub-step.

Instance Method Summary collapse

Constructor Details

#initialize(anArgName) ⇒ UnreachableSubstepArgument

Returns a new instance of UnreachableSubstepArgument.



56
57
58
59
# File 'lib/macros4cuke/exceptions.rb', line 56

def initialize(anArgName)
  msg = "The sub-step argument '#{anArgName}' does not appear in the phrase."
  super(msg)
end