module Muwu::RenderHtmlPartial
Public Instance Methods
write_css()
click to toggle source
# File lib/muwu/render_html_partial/render_document_css.rb, line 38 def write_css @destination.write_inline SassC::Engine.new(File.read(@project.css_manifest_filename), syntax: :scss, load_paths: ['config/css']).render end
write_css_missing_comment()
click to toggle source
# File lib/muwu/render_html_partial/render_document_css.rb, line 29 def write_css_missing_comment @destination.write_line "/*" @destination.write_line "#{ProjectException::CssManifestFileNotFound}" @destination.write_line " - CSS manifest file could not be found." @destination.write_line " - Expecting `#{project.css_manifest_filename}`" @destination.write_line "*/" end