Exception: Rubikon::ExtraArgumentError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/rubikon/errors.rb

Overview

Raised by parameters that have been supplied with more arguments than they take

See Also:

Author:

  • Sebastian Staudt

Instance Method Summary collapse

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