Sha256: 1109df2be129221ea07b1c0a8c75229fa00a92cb3378b2521f3d272d32ea47d4

Contents?: true

Size: 360 Bytes

Versions: 18

Compression:

Stored size: 360 Bytes

Contents

module Hamlit
  class Filters
    class Scss < TiltBase
      def compile(node)
        require 'tilt/sass' if explicit_require?
        temple = [:multi]
        temple << [:static, "<style>\n".freeze]
        temple << compile_with_tilt(node, 'scss', indent_width: 2)
        temple << [:static, "</style>".freeze]
        temple
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
hamlit-2.2.4 lib/hamlit/filters/scss.rb
hamlit-2.6.1 lib/hamlit/filters/scss.rb
hamlit-2.6.0 lib/hamlit/filters/scss.rb
hamlit-2.5.0 lib/hamlit/filters/scss.rb
hamlit-2.4.2 lib/hamlit/filters/scss.rb
hamlit-2.4.1 lib/hamlit/filters/scss.rb
hamlit-2.4.0 lib/hamlit/filters/scss.rb
hamlit-2.3.1 lib/hamlit/filters/scss.rb
hamlit-2.3.0 lib/hamlit/filters/scss.rb
hamlit-2.2.3 lib/hamlit/filters/scss.rb
hamlit-2.2.2 lib/hamlit/filters/scss.rb
hamlit-2.2.1 lib/hamlit/filters/scss.rb
hamlit-2.2.0 lib/hamlit/filters/scss.rb
hamlit-2.1.2 lib/hamlit/filters/scss.rb
hamlit-2.1.1 lib/hamlit/filters/scss.rb
hamlit-2.1.0 lib/hamlit/filters/scss.rb
hamlit-2.0.2 lib/hamlit/filters/scss.rb
hamlit-2.0.1 lib/hamlit/filters/scss.rb