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