lib/macros4cuke/exceptions.rb in macros4cuke-0.3.37 vs lib/macros4cuke/exceptions.rb in macros4cuke-0.3.38

- old
+ new

@@ -38,11 +38,12 @@ # 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. class AmbiguousArgumentValue < Macros4CukeError def initialize(anArgName, valuePhrase, valueTable) - msg = "The macro argument '#{anArgName}' has value '#{valuePhrase}' and 'valueTable'." - super(msg) + msg1 = "The macro argument '#{anArgName}' has value " + msg2 = "'#{valuePhrase}' and '#{valueTable}'." + super(msg1 + msg2) end end # class \ No newline at end of file