Class: YMDP::Compressor::Stylesheet
- Defined in:
- lib/ymdp/compressor/compressor.rb
Overview
Compresses a CSS file using the specified compressor/minifier (currently YUI Compressor 2.4.2).
Usage
YMDP::Compressor::Stylesheet.compress("filename.css")
Class Method Summary collapse
-
.compress(path) ⇒ Object
TODO: Add options hash.
Methods inherited from Base
#base_path, base_path, #configuration, configuration, configure, #content_variables, display_path, #display_path, #paths, #servers
Class Method Details
.compress(path) ⇒ Object
TODO: Add options hash
116 117 118 |
# File 'lib/ymdp/compressor/compressor.rb', line 116 def self.compress(path) super(path, "type" => "css") end |