Exception: Macros4Cuke::UnreachableSubstepArgument
- Inherits:
-
Macros4CukeError
- Object
- StandardError
- Macros4CukeError
- Macros4Cuke::UnreachableSubstepArgument
- 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
-
#initialize(anArgName) ⇒ UnreachableSubstepArgument
constructor
A new instance of UnreachableSubstepArgument.
Constructor Details
#initialize(anArgName) ⇒ UnreachableSubstepArgument
Returns a new instance of UnreachableSubstepArgument.
31 32 33 34 |
# File 'lib/macros4cuke/exceptions.rb', line 31 def initialize(anArgName) msg = "The sub-step argument '#{anArgName}' does not appear in the phrase." super(msg) end |