Exception: Rabbit::UnknownPropertyError

Inherits:
Error
  • Object
show all
Defined in:
lib/rabbit/error.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) ⇒ UnknownPropertyError

Returns a new instance of UnknownPropertyError.



91
92
93
94
# File 'lib/rabbit/error.rb', line 91

def initialize(name)
  @name = name
  super(_("Unknown property: %s") % name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



90
91
92
# File 'lib/rabbit/error.rb', line 90

def name
  @name
end