Class: Glimmer::CSS::CSSMinifier
- Inherits:
-
Object
- Object
- Glimmer::CSS::CSSMinifier
- Includes:
- Singleton
- Defined in:
- lib/glimmer/css/css_minifier.rb
Overview
A very rudimentary CSS minifier. It does not minify CSS completely at the moment.
Instance Method Summary collapse
Instance Method Details
#convert(css) ⇒ Object
30 31 32 |
# File 'lib/glimmer/css/css_minifier.rb', line 30 def convert(css) css.lines.map(&:chomp).map(&:strip).join end |