Exception: Bronze::NotImplementedError
- Inherits:
-
StandardError
- Object
- StandardError
- Bronze::NotImplementedError
- Defined in:
- lib/bronze/not_implemented_error.rb
Overview
Exception subclass to indicate an intended method has not been implemented on the receiver.
Instance Method Summary collapse
-
#initialize(receiver, method_name) ⇒ NotImplementedError
constructor
A new instance of NotImplementedError.
Constructor Details
#initialize(receiver, method_name) ⇒ NotImplementedError
Returns a new instance of NotImplementedError.
11 12 13 14 15 16 |
# File 'lib/bronze/not_implemented_error.rb', line 11 def initialize(receiver, method_name) = receiver.is_a?(Module) ? "#{receiver}." : "#{receiver.class}#" super("#{}#{method_name} is not implemented") end |