Class: PivotalDoc::Generators::HTML
- Inherits:
-
Base
- Object
- Base
- PivotalDoc::Generators::HTML
show all
- Defined in:
- lib/pivotal_doc/generators/html.rb
Instance Method Summary
collapse
Methods inherited from Base
#absolute_path, #initialize, #output_file, #output_path, #template
Instance Method Details
#output_ext ⇒ Object
7
|
# File 'lib/pivotal_doc/generators/html.rb', line 7
def output_ext; '.html' end
|
#render_doc ⇒ Object
8
9
10
11
|
# File 'lib/pivotal_doc/generators/html.rb', line 8
def render_doc
html= Haml::Engine.new(template).render(Object.new, {:release=>@release})
super(html)
end
|
#template_name ⇒ Object
4
5
6
|
# File 'lib/pivotal_doc/generators/html.rb', line 4
def template_name
@options['template_name'] || 'html_gen.haml'
end
|