Exception: Cuprum::NotImplementedError
- Inherits:
-
StandardError
- Object
- StandardError
- Cuprum::NotImplementedError
- Defined in:
- lib/cuprum/not_implemented_error.rb
Overview
Error class for calling a Command that was not given a definition block or have a #process method defined.
Constant Summary collapse
- DEFAULT_MESSAGE =
Error message for a NotImplementedError.
'no implementation defined for command'.freeze
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ NotImplementedError
constructor
A new instance of NotImplementedError.
Constructor Details
#initialize(message = nil) ⇒ NotImplementedError
Returns a new instance of NotImplementedError.
10 11 12 |
# File 'lib/cuprum/not_implemented_error.rb', line 10 def initialize = nil super( || DEFAULT_MESSAGE) end |