Exception: Rabbit::NotAvailableInterfaceError

Inherits:
Error
  • Object
show all
Defined in:
lib/rabbit/rabbit.rb

Constant Summary

Constants included from GetText

GetText::DOMAIN

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetText

included

Constructor Details

#initialize(name) ⇒ NotAvailableInterfaceError

Returns a new instance of NotAvailableInterfaceError.



184
185
186
187
# File 'lib/rabbit/rabbit.rb', line 184

def initialize(name)
  @name = name
  super(_("not available interface: %s") % @name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



183
184
185
# File 'lib/rabbit/rabbit.rb', line 183

def name
  @name
end