Exception: Pymn::ChainOfResponsibility::ResponsibilityMethodUndefinedError
- Inherits:
-
Exception
- Object
- Exception
- Pymn::ChainOfResponsibility::ResponsibilityMethodUndefinedError
- Defined in:
- lib/pymn/chain_of_responsibility/responsibility_method_undefined_error.rb
Instance Method Summary collapse
-
#initialize(method) ⇒ ResponsibilityMethodUndefinedError
constructor
A new instance of ResponsibilityMethodUndefinedError.
Constructor Details
#initialize(method) ⇒ ResponsibilityMethodUndefinedError
Returns a new instance of ResponsibilityMethodUndefinedError.
4 5 6 |
# File 'lib/pymn/chain_of_responsibility/responsibility_method_undefined_error.rb', line 4 def initialize method super("Responsibility must be called with an existing method. '#{method.to_s}' not defined.") end |