Exception: Rabbit::NotReadableError

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

Returns a new instance of NotReadableError.



157
158
159
160
# File 'lib/rabbit/rabbit.rb', line 157

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



156
157
158
# File 'lib/rabbit/rabbit.rb', line 156

def name
  @name
end