Exception: Rabbit::NotFileError
- Inherits:
-
SourceUnreadableError
- Object
- StandardError
- Error
- SourceUnreadableError
- Rabbit::NotFileError
- Defined in:
- lib/rabbit/rabbit.rb
Constant Summary
Constants included from GetText
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ NotFileError
constructor
A new instance of NotFileError.
Methods included from GetText
Constructor Details
#initialize(name) ⇒ NotFileError
Returns a new instance of NotFileError.
149 150 151 152 |
# File 'lib/rabbit/rabbit.rb', line 149 def initialize(name) @name = name super(_("not a file: %s") % @name) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
148 149 150 |
# File 'lib/rabbit/rabbit.rb', line 148 def name @name end |