Exception: PhotoCook::WidthOutOfBoundsError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- PhotoCook::WidthOutOfBoundsError
- Defined in:
- lib/photo-cook/dimensions.rb
Instance Method Summary collapse
-
#initialize ⇒ WidthOutOfBoundsError
constructor
A new instance of WidthOutOfBoundsError.
Constructor Details
#initialize ⇒ WidthOutOfBoundsError
Returns a new instance of WidthOutOfBoundsError.
19 20 21 |
# File 'lib/photo-cook/dimensions.rb', line 19 def initialize super 'Width must be positive integer number (0...9999)' end |