Exception: Rabbit::ImageFileDoesNotExistError
- Inherits:
-
ImageLoadError
- Object
- StandardError
- Error
- ImageLoadError
- Rabbit::ImageFileDoesNotExistError
- Defined in:
- lib/rabbit/rabbit.rb
Constant Summary
Constants included from GetText
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename) ⇒ ImageFileDoesNotExistError
constructor
A new instance of ImageFileDoesNotExistError.
Methods included from GetText
Constructor Details
#initialize(filename) ⇒ ImageFileDoesNotExistError
Returns a new instance of ImageFileDoesNotExistError.
58 59 60 61 |
# File 'lib/rabbit/rabbit.rb', line 58 def initialize(filename) @filename = filename super(_("no such file: %s") % filename) end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
57 58 59 |
# File 'lib/rabbit/rabbit.rb', line 57 def filename @filename end |