Class: Catapult::Compressor::CSS
- Inherits:
-
Object
- Object
- Catapult::Compressor::CSS
- Defined in:
- lib/catapult/compressor.rb
Instance Method Summary collapse
Instance Method Details
#compress(source, options = {}) ⇒ Object
11 12 13 14 15 |
# File 'lib/catapult/compressor.rb', line 11 def compress(source, = {}) require 'yui/compressor' compressor = YUI::CssCompressor.new() compressor.compress(source) end |