Exception: Rubikon::ExtraArgumentError
- Defined in:
- lib/rubikon/errors.rb
Overview
Raised by parameters that have been supplied with more arguments than they take
Instance Method Summary collapse
-
#initialize(parameter) ⇒ ExtraArgumentError
constructor
A new instance of ExtraArgumentError.
Constructor Details
#initialize(parameter) ⇒ ExtraArgumentError
Returns a new instance of ExtraArgumentError.
25 26 27 |
# File 'lib/rubikon/errors.rb', line 25 def initialize(parameter) super "Parameter #{parameter} has one or more extra arguments." end |