Exception: Rabbit::UnknownPropertyError
- 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) ⇒ UnknownPropertyError
constructor
A new instance of UnknownPropertyError.
Methods included from GetText
Constructor Details
#initialize(name) ⇒ UnknownPropertyError
Returns a new instance of UnknownPropertyError.
98 99 100 101 |
# File 'lib/rabbit/error.rb', line 98 def initialize(name) @name = name super(_("Unknown property: %s") % name) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
97 98 99 |
# File 'lib/rabbit/error.rb', line 97 def name @name end |