Class Blueprint::CSSParser
In: lib/blueprint/css_parser.rb
Parent: Object

Strips out most whitespace and can return a hash or string of parsed data

Methods

new   parse   to_s  

Attributes

css_output  [R] 
namespace  [RW] 
raw_data  [R] 

Public Class methods

Options

  • css_string String of CSS data
  • options
    • :namespaceNamespace to use when generating output

Public Instance methods

returns a hash of all CSS data passed

Options

  • data — CSS string; defaults to string passed into the constructor

returns string of CSS which can be saved to a file or otherwise

[Validate]