Exception: Rabbit::NotFileError
- Inherits:
-
SourceUnreadableError
- Object
- StandardError
- Error
- SourceUnreadableError
- Rabbit::NotFileError
- Defined in:
- lib/rabbit/error.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.
118 119 120 121 |
# File 'lib/rabbit/error.rb', line 118 def initialize(name) @name = name super(_("not a file: %s") % @name) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
117 118 119 |
# File 'lib/rabbit/error.rb', line 117 def name @name end |