Exception: TypeToolkit::AbstractMethodNotImplementedError

Inherits:
Exception
  • Object
show all
Defined in:
lib/type_toolkit/abstract_method_receiver.rb

Overview

Raised when a call is made to an abstract method that never had a real implementation.

Instance Method Summary collapse

Constructor Details

#initialize(method_name:) ⇒ AbstractMethodNotImplementedError

rubocop:disable Lint/InheritException



7
8
9
10
# File 'lib/type_toolkit/abstract_method_receiver.rb', line 7

def initialize(method_name:)
  # Do not rely on this message content! Its content is subject to change.
  super("Abstract method `##{method_name}` was never implemented.")
end