class Dreck::GreedyAbsorptionError

Raised during argument absorption if a greedy list was expected but all arguments have already been absorbed.

Public Class Methods

new(specified, supplied) click to toggle source

@param specified [Integer] the number of arguments specified @param supplied [Integer] the number of arguments supplied

Calls superclass method
# File lib/dreck/exceptions.rb, line 29
def initialize(specified, supplied)
  super "too few arguments given (#{specified}, expected >#{supplied})"
end