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