Class: Sass::SassHandler
- Inherits:
-
Object
- Object
- Sass::SassHandler
- Defined in:
- lib/sitepress/sass_template_handlers.rb
Instance Method Summary collapse
Instance Method Details
#call(template, source = template.source) ⇒ Object
11 12 13 |
# File 'lib/sitepress/sass_template_handlers.rb', line 11 def call(template, source = template.source) SassC::Engine.new(SassC::Sass2Scss.convert(source)).render.inspect + '.html_safe' end |