Class: CSSPool::Visitors::MinCSS
- Inherits:
-
Visitor
- Object
- Visitor
- CSSPool::Visitors::MinCSS
- Defined in:
- lib/css_press/min_css.rb
Constant Summary collapse
- CSS_IDENTIFIER_ILLEGAL_CHARACTERS =
(0..255).to_a.pack('U*').gsub(/[a-zA-Z0-9_-]/, '')
- CSS_STRING_ESCAPE_MAP =
{ "\\" => "\\\\", "\"" => "\\\"", "\n" => "\\a ", # CSS2 4.1.3 p3.2 "\r" => "\\\r", "\f" => "\\\f" }
Instance Method Summary collapse
-
#initialize ⇒ MinCSS
constructor
A new instance of MinCSS.
Constructor Details
#initialize ⇒ MinCSS
Returns a new instance of MinCSS.
15 16 |
# File 'lib/css_press/min_css.rb', line 15 def initialize end |