Exception: Rescue::NoParameterMethodError
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- Rescue::NoParameterMethodError
- Defined in:
- lib/rescue/errors.rb
Instance Method Summary collapse
-
#initialize(clazz, name) ⇒ NoParameterMethodError
constructor
A new instance of NoParameterMethodError.
Constructor Details
#initialize(clazz, name) ⇒ NoParameterMethodError
Returns a new instance of NoParameterMethodError.
11 12 13 |
# File 'lib/rescue/errors.rb', line 11 def initialize clazz, name super "Undefined method `#{name}` for #{clazz.name}. Please define private method `#{name}` to return the permissible parameters." end |