Exception: AbstractMapper::Errors::UnknownCommand
- Inherits:
-
NameError
- Object
- NameError
- AbstractMapper::Errors::UnknownCommand
- Defined in:
- lib/abstract_mapper/errors/unknown_command.rb
Overview
An exception to be raised when unknown DSL methods is used
Instance Method Summary collapse
-
#initialize(name) ⇒ UnknownCommand
constructor
A new instance of UnknownCommand.
Constructor Details
#initialize(name) ⇒ UnknownCommand
Returns a new instance of UnknownCommand.
16 17 18 19 |
# File 'lib/abstract_mapper/errors/unknown_command.rb', line 16 def initialize(name) super "'#{name}' is not a registered DSL command" IceNine.deep_freeze(self) end |