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
N_, _, bindtextdomain, locale=
Constructor Details
#initialize(name) ⇒ NotReadableError
Returns a new instance of NotReadableError.
147 148 149 150 |
# File 'lib/rabbit/rabbit.rb', line 147 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.
146 147 148 |
# File 'lib/rabbit/rabbit.rb', line 146 def name @name end |