Exception: Setsuzoku::Exception::UndefinedRequiredMethod
- Inherits:
-
StandardError
- Object
- StandardError
- Setsuzoku::Exception::UndefinedRequiredMethod
- Defined in:
- lib/setsuzoku/exception.rb
Instance Method Summary collapse
-
#initialize(registering_instance:, plugin_class:, method_name:) ⇒ UndefinedRequiredMethod
constructor
A new instance of UndefinedRequiredMethod.
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 |