Class: Muwu::RenderHtmlBuilder
- Inherits:
-
Object
- Object
- Muwu::RenderHtmlBuilder
- Includes:
- Muwu
- Defined in:
- lib/muwu/render_html_builder/render_html_builder.rb
Constant Summary
Constants included from Muwu
GEM_HOME_LIB, GEM_HOME_LIB_MUWU, VERSION
Instance Method Summary collapse
- #build_and_render ⇒ Object
-
#initialize(document) ⇒ RenderHtmlBuilder
constructor
A new instance of RenderHtmlBuilder.
Methods included from Muwu
Constructor Details
#initialize(document) ⇒ RenderHtmlBuilder
Returns a new instance of RenderHtmlBuilder.
8 9 10 |
# File 'lib/muwu/render_html_builder/render_html_builder.rb', line 8 def initialize(document) @document = document end |
Instance Method Details
#build_and_render ⇒ Object
13 14 15 16 17 |
# File 'lib/muwu/render_html_builder/render_html_builder.rb', line 13 def build_and_render if ManifestTask::DocumentHtml === @document build_document_html.render end end |