Exception: Rabbit::CantFindHTMLTemplate

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) ⇒ CantFindHTMLTemplate

Returns a new instance of CantFindHTMLTemplate.



192
193
194
195
# File 'lib/rabbit/rabbit.rb', line 192

def initialize(name)
  @name = name
  super(_("can't find HTML template: %s") % @name)
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



191
192
193
# File 'lib/rabbit/rabbit.rb', line 191

def name
  @name
end