Exception: ImagePath::CouldNotDetermineFileExtensionError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ImagePath::CouldNotDetermineFileExtensionError
- Defined in:
- lib/httpimagestore/image_path.rb
Instance Method Summary collapse
-
#initialize(mime_type) ⇒ CouldNotDetermineFileExtensionError
constructor
A new instance of CouldNotDetermineFileExtensionError.
Constructor Details
#initialize(mime_type) ⇒ CouldNotDetermineFileExtensionError
Returns a new instance of CouldNotDetermineFileExtensionError.
6 7 8 |
# File 'lib/httpimagestore/image_path.rb', line 6 def initialize(mime_type) super "could not determine file extension for mime type: #{mime_type}" end |