Class: Muwu::RenderCssBuilder

Inherits:
Object
  • Object
show all
Includes:
Muwu
Defined in:
lib/muwu/render_html_builder/render_css_builder.rb

Constant Summary

Constants included from Muwu

GEM_HOME_LIB, GEM_HOME_LIB_MUWU, VERSION

Instance Method Summary collapse

Methods included from Muwu

debug, read

Constructor Details

#initialize(document) ⇒ RenderCssBuilder

Returns a new instance of RenderCssBuilder.



8
9
10
# File 'lib/muwu/render_html_builder/render_css_builder.rb', line 8

def initialize(document)
  @document = document
end

Instance Method Details

#build_and_renderObject



13
14
15
16
17
# 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