Exception: ThumbnailSpec::InvalidArgumentValueError

Inherits:
InvalidFormatError show all
Defined in:
lib/httpthumbnailer/thumbnail_specs.rb

Instance Method Summary collapse

Methods inherited from InvalidFormatError

#for_edit, #in_spec

Constructor Details

#initialize(name, value, reason) ⇒ InvalidArgumentValueError

Returns a new instance of InvalidArgumentValueError.



43
44
45
# File 'lib/httpthumbnailer/thumbnail_specs.rb', line 43

def initialize(name, value, reason)
	super "#{name} value '#{value}' is not #{reason}"
end