Exception: Pymn::ChainOfResponsibility::ResponsibilityMethodUndefinedError

Inherits:
Exception
  • Object
show all
Defined in:
lib/pymn/chain_of_responsibility/responsibility_method_undefined_error.rb

Instance Method Summary collapse

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