Exception: Rabbit::CantFindHTMLTemplate

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

Returns a new instance of CantFindHTMLTemplate.



162
163
164
165
# File 'lib/rabbit/error.rb', line 162

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.



161
162
163
# File 'lib/rabbit/error.rb', line 161

def name
  @name
end