Exception: Rabbit::NotAvailableInterfaceError
- 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) ⇒ NotAvailableInterfaceError
constructor
A new instance of NotAvailableInterfaceError.
Methods included from GetText
Constructor Details
#initialize(name) ⇒ NotAvailableInterfaceError
Returns a new instance of NotAvailableInterfaceError.
160 161 162 163 |
# File 'lib/rabbit/error.rb', line 160 def initialize(name) @name = name super(_("not available interface: %s") % @name) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
159 160 161 |
# File 'lib/rabbit/error.rb', line 159 def name @name end |