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.



32
33
34
# File 'lib/macros4cuke/exceptions.rb', line 32

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