Exception: Dreck::GreedyAbsorptionError
- Inherits:
-
DreckError
- Object
- RuntimeError
- DreckError
- Dreck::GreedyAbsorptionError
- Defined in:
- lib/dreck/exceptions.rb
Overview
Raised during argument absorption if a greedy list was expected but all arguments have already been absorbed.
Instance Method Summary collapse
-
#initialize(specified, supplied) ⇒ GreedyAbsorptionError
constructor
A new instance of GreedyAbsorptionError.
Constructor Details
#initialize(specified, supplied) ⇒ GreedyAbsorptionError
Returns a new instance of GreedyAbsorptionError.
29 30 31 |
# File 'lib/dreck/exceptions.rb', line 29 def initialize(specified, supplied) super "too few arguments given (#{specified}, expected >#{supplied})" end |