Class: FastHaml::FilterCompilers::Sass

Inherits:
TiltBase show all
Defined in:
lib/fast_haml/filter_compilers/sass.rb

Instance Method Summary collapse

Methods inherited from TiltBase

render_with_tilt

Instance Method Details

#compile(texts) ⇒ Object



6
7
8
9
# File 'lib/fast_haml/filter_compilers/sass.rb', line 6

def compile(texts)
  temple = compile_with_tilt('sass', texts)
  [:haml, :tag, 'style', false, [:html, :attrs], temple]
end