Module: Haml::Filters::Sass
- Includes:
- Base
- Defined in:
- /var/www/sass-pages/.haml/lib/haml/filters.rb
Overview
Parses the filtered text with Sass to produce CSS output.
Instance Method Summary
Methods included from Base
#compile, included, #internal_compile, #lazy_require, #render_with_options
Instance Method Details
- render(text)
301 302 303 |
# File '/var/www/sass-pages/.haml/lib/haml/filters.rb', line 301
def render(text)
::Sass::Engine.new(text, ::Sass::Plugin.engine_options).render
end
|