Exception: PivotalDoc::TemplateNonExistent

Inherits:
PivotalDocException show all
Defined in:
lib/pivotal_doc/exceptions.rb

Instance Method Summary collapse

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

#messageObject



18
19
20
# File 'lib/pivotal_doc/exceptions.rb', line 18

def message
  "The template named \"#{@template_name}\" doesn't exist?"
end