Exception: Macros4Cuke::DataTableNotFound

Inherits:
Macros4CukeError show all
Defined in:
lib/macros4cuke/exceptions.rb

Overview

Raised when one invokes a macro-step without a required data table argument

Instance Method Summary collapse

Constructor Details

#initialize(phrase) ⇒ DataTableNotFound

Returns a new instance of DataTableNotFound.



78
79
80
81
# File 'lib/macros4cuke/exceptions.rb', line 78

def initialize(phrase)
  msg = "The step with phrase [#{phrase}]: requires a data table."
  super(msg)
end