class Muwu::RenderHtmlBuilder

Public Class Methods

new(document) click to toggle source
# File lib/muwu/render_html_builder/render_html_builder.rb, line 8
def initialize(document)
  @document = document
end

Public Instance Methods

build_and_render() click to toggle source
# 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

Private Instance Methods

build_document_html() click to toggle source
# File lib/muwu/render_html_builder/render_html_builder.rb, line 24
def build_document_html
  RenderHtmlPartialBuilder::DocumentHtmlBuilder.build do |b|
    b.build_from_manifest_document(@document)
  end
end