Exception: Rabbit::NotReadableError
- Inherits:
-
SourceUnreadableError
- Object
- StandardError
- Error
- SourceUnreadableError
- Rabbit::NotReadableError
- 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) ⇒ NotReadableError
constructor
A new instance of NotReadableError.
Methods included from GetText
Constructor Details
permalink #initialize(name) ⇒ NotReadableError
Returns a new instance of NotReadableError.
133 134 135 136 |
# File 'lib/rabbit/error.rb', line 133 def initialize(name) @name = name super(_("can not be read: %s") % @name) end |
Instance Attribute Details
permalink #name ⇒ Object (readonly)
Returns the value of attribute name.
132 133 134 |
# File 'lib/rabbit/error.rb', line 132 def name @name end |