Exception: Macros4Cuke::UselessPhraseArgument

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) ⇒ UselessPhraseArgument

Returns a new instance of UselessPhraseArgument.



46
47
48
# File 'lib/macros4cuke/exceptions.rb', line 46

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