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

N_, _, bindtextdomain, locale=

Constructor Details

#initialize(filename) ⇒ ImageFileDoesNotExistError

Returns a new instance of ImageFileDoesNotExistError.



48
49
50
51
# File 'lib/rabbit/rabbit.rb', line 48

def initialize(filename)
  @filename = filename
  super(_("no such file: %s") % filename)
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



47
48
49
# File 'lib/rabbit/rabbit.rb', line 47

def filename
  @filename
end