class Bronze::NotImplementedError

Exception subclass to indicate an intended method has not been implemented on the receiver.

Public Class Methods

new(receiver, method_name) click to toggle source

@param receiver [Object] The object receiving the message. @param method_name [String] The name of the expected method.

Calls superclass method
# File lib/bronze/not_implemented_error.rb, line 11
def initialize(receiver, method_name)
  receiver_message =
    receiver.is_a?(Module) ? "#{receiver}." : "#{receiver.class}#"

  super("#{receiver_message}#{method_name} is not implemented")
end