Class: FastHaml::FilterCompilers::Scss
- Defined in:
- lib/fast_haml/filter_compilers/scss.rb
Instance Method Summary collapse
Methods inherited from TiltBase
Methods inherited from Base
Instance Method Details
#compile(texts) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/fast_haml/filter_compilers/scss.rb', line 6 def compile(texts) temple = [:multi, [:static, "\n"], [:newline]] compile_with_tilt(temple, 'scss', texts) temple << [:static, "\n"] [:haml, :tag, 'style', false, [:html, :attrs], temple] end |