Exception: Rabbit::NotReadableError

Inherits:
SourceUnreadableError 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) ⇒ NotReadableError

Returns a new instance of NotReadableError.



126
127
128
129
# File 'lib/rabbit/error.rb', line 126

def initialize(name)
  @name = name
  super(_("can not be read: %s") % @name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



125
126
127
# File 'lib/rabbit/error.rb', line 125

def name
  @name
end