Exception: Rabbit::NotFileError

Inherits:
SourceUnreadableError 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(name) ⇒ NotFileError

Returns a new instance of NotFileError.



139
140
141
142
# File 'lib/rabbit/rabbit.rb', line 139

def initialize(name)
  @name = name
  super(_("not a file: %s") % @name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



138
139
140
# File 'lib/rabbit/rabbit.rb', line 138

def name
  @name
end