Sha256: be5e44f4751ef849661c73865a87dc0393d094c544b6f966ef6c15a8b9fca050
Contents?: true
Size: 396 Bytes
Versions: 1
Compression:
Stored size: 396 Bytes
Contents
require 'fast_haml/filter_compilers/tilt_base' module FastHaml module FilterCompilers class Scss < TiltBase 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 end register(:scss, Scss) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fast_haml-0.1.10 | lib/fast_haml/filter_compilers/scss.rb |