Exception: Macros4Cuke::DataTableNotFound
- Inherits:
-
Macros4CukeError
- Object
- StandardError
- Macros4CukeError
- Macros4Cuke::DataTableNotFound
- Defined in:
- lib/macros4cuke/exceptions.rb
Overview
Raised when one invokes a macro-step without a required data table argument
Instance Method Summary collapse
-
#initialize(phrase) ⇒ DataTableNotFound
constructor
A new instance of DataTableNotFound.
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 |