Exception: Rabbit::ImageFileDoesNotExistError

Inherits:
ImageLoadError show all
Defined in:
lib/rabbit/rabbit.rb

Constant Summary

Constants included from GetText

GetText::DOMAIN

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetText

included

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

#filenameObject (readonly)

Returns the value of attribute filename.



57
58
59
# File 'lib/rabbit/rabbit.rb', line 57

def filename
  @filename
end