Sha256: c16c4d32c363613cf46d6880b5be77282e5d3d420df512f0f02173eb1d21ac21

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require 'fast_haml/filter_compilers/tilt_base'

module FastHaml
  module FilterCompilers
    class Sass < TiltBase
      def compile(texts)
        temple = [:multi, [:static, "\n"], [:newline]]
        compile_with_tilt(temple, 'sass', texts)
        [:haml, :tag, 'style', false, [:html, :attrs], temple]
      end
    end

    register(:sass, Sass)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fast_haml-0.1.10 lib/fast_haml/filter_compilers/sass.rb