class Muwu::RenderCssBuilder

Public Class Methods

new(document) click to toggle source
# File lib/muwu/render_html_builder/render_css_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_css_builder.rb, line 13
def build_and_render
  if ManifestTask::DocumentCss === @document
    build_document_css.render
  end
end

Private Instance Methods

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