Class: Jammit::CssminCompressor

Inherits:
Object
  • Object
show all
Defined in:
lib/jammit/cssmin_compressor.rb

Overview

Wraps CSSMin compressor to use the same API as the rest of Jammit’s compressors.

Instance Method Summary (collapse)

Constructor Details

- (CssminCompressor) initialize(options = {})

Returns a new instance of CssminCompressor



4
5
# File 'lib/jammit/cssmin_compressor.rb', line 4

def initialize(options = {})
end

Instance Method Details

- (Object) compress(css)



7
8
9
# File 'lib/jammit/cssmin_compressor.rb', line 7

def compress(css)
  CSSMin.minify(css)
end