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. The exception is raised only only via Cucumber (steps)

Instance Method Summary collapse

Constructor Details

#initialize(phrase) ⇒ DataTableNotFound

Returns a new instance of DataTableNotFound.



115
116
117
118
# File 'lib/macros4cuke/exceptions.rb', line 115

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