Module: Haml::Filters::Sass
- Includes:
- Base
- Defined in:
- /var/build/temp/tmp.g5C1f6zb2g/4.0-0-0/ruby-haml/ruby-haml-3.1.6/lib/haml/filters.rb
Overview
Parses the filtered text with Sass to produce CSS output.
Instance Method Summary (collapse)
Methods included from Base
#compile, included, #internal_compile, #lazy_require, #render_with_options
Instance Method Details
- render(text)
306 307 308 |
# File '/var/build/temp/tmp.g5C1f6zb2g/4.0-0-0/ruby-haml/ruby-haml-3.1.6/lib/haml/filters.rb', line 306
def render(text)
::Sass::Engine.new(text, ::Sass::Plugin.engine_options).render
end
|