Exception: Setsuzoku::Exception::UndefinedRequiredMethod

Inherits:
StandardError
  • Object
show all
Defined in:
lib/setsuzoku/exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(registering_instance:, plugin_class:, method_name:) ⇒ UndefinedRequiredMethod

Returns a new instance of UndefinedRequiredMethod.



12
13
14
15
# File 'lib/setsuzoku/exception.rb', line 12

def initialize(registering_instance:, plugin_class:, method_name:)
  msg = "#{registering_instance.name} attempted to register #{plugin_class.name} but did not define the required instance method: #{method_name}"
  super(msg)
end