class Macros4Cuke::AmbiguousArgumentValue

Raised when one passes one value for an argument via the macro-step's phrase and a value for that same argument via the the data table. and that argument name does not appear in any sub-step.

Public Class Methods

new(anArgName, valuePhrase, valueTable) click to toggle source
Calls superclass method
# File lib/macros4cuke/exceptions.rb, line 67
def initialize(anArgName, valuePhrase, valueTable)
  msg1 = "The macro argument '#{anArgName}' has value "
  msg2 = "'#{valuePhrase}' and '#{valueTable}'."
  super(msg1 + msg2)
end