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