Class: Middleman::Extensions::MinifyCss::SassCompressor
- Inherits:
-
Object
- Object
- Middleman::Extensions::MinifyCss::SassCompressor
- Defined in:
- lib/middleman-core/extensions/minify_css.rb
Constant Summary collapse
- COMPRESSED_OPTIONS =
{ style: :compressed }.freeze
Class Method Summary collapse
Class Method Details
.compress(style, options = {}) ⇒ Object
28 29 30 31 32 |
# File 'lib/middleman-core/extensions/minify_css.rb', line 28 def self.compress(style, ={}) = .merge(COMPRESSED_OPTIONS) ::SassC::Engine.new(style, ).render.strip end |