Exception: PivotalDoc::TemplateNonExistent
- Inherits:
-
PivotalDocException
- Object
- Exception
- PivotalDocException
- PivotalDoc::TemplateNonExistent
- Defined in:
- lib/pivotal_doc/exceptions.rb
Instance Method Summary collapse
-
#initialize(template_name) ⇒ TemplateNonExistent
constructor
A new instance of TemplateNonExistent.
- #message ⇒ Object
Constructor Details
#initialize(template_name) ⇒ TemplateNonExistent
Returns a new instance of TemplateNonExistent.
14 15 16 |
# File 'lib/pivotal_doc/exceptions.rb', line 14 def initialize(template_name) @template_name= template_name end |
Instance Method Details
#message ⇒ Object
18 19 20 |
# File 'lib/pivotal_doc/exceptions.rb', line 18 def "The template named \"#{@template_name}\" doesn't exist?" end |