Exception: ConvenientService::Support::AbstractMethod::Exceptions::AbstractMethodNotOverridden
- Inherits:
-
Exception
- Object
- StandardError
- Exception
- ConvenientService::Support::AbstractMethod::Exceptions::AbstractMethodNotOverridden
- Defined in:
- lib/convenient_service/support/abstract_method/exceptions.rb
Instance Method Summary collapse
Methods inherited from Exception
Instance Method Details
#initialize_with_kwargs(instance:, method:) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/convenient_service/support/abstract_method/exceptions.rb', line 8 def initialize_with_kwargs(instance:, method:) klass = instance.is_a?(::Class) ? instance : instance.class method_type = Utils::Object.resolve_type(instance) = <<~TEXT `#{klass}` should implement abstract #{method_type} method `#{method}`. TEXT initialize() end |