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