class Middleman::Extensions::MinifyCss::SassCompressor

Constants

COMPRESSED_OPTIONS

Public Class Methods

compress(style, options={}) click to toggle source
# File lib/middleman-core/extensions/minify_css.rb, line 28
def self.compress(style, options={})
  options = options.merge(COMPRESSED_OPTIONS)

  ::SassC::Engine.new(style, options).render.strip
end