Module: Haml::Filters::Sass

Includes:
Base
Defined in:
lib/haml/filters.rb

Instance Method Summary collapse

Methods included from Base

#compile, included, #internal_compile, #lazy_require, #render_with_options

Instance Method Details

#render(text) ⇒ Object



217
218
219
# File 'lib/haml/filters.rb', line 217

def render(text)
  ::Sass::Engine.new(text, ::Sass::Plugin.engine_options).render
end