Exception: PhotoCook::DevicePixelRatio::OutOfBounds

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/photo-cook/device-pixel-ratio.rb

Instance Method Summary collapse

Constructor Details

#initializeOutOfBounds

Returns a new instance of OutOfBounds.



53
54
55
56
# File 'lib/photo-cook/device-pixel-ratio.rb', line 53

def initialize(*)
  super 'Device pixel ratio must be positive number (integer or float) ' +
        "which satisfies #{DEFAULT} <= x <= #{MAX}"
end