CSS parse tree. This is for a "deep filtering".
Methods
Public Class methods
[ show source ]
# File lib/facets/cssfilter.rb, line 204 def initialize(options=nil) @options = options || {} super() end
Public Instance methods
Re-output the CSS, all tidy ;)
[ show source ]
# File lib/facets/cssfilter.rb, line 211 def to_css css = "" each do |selector, entries| css << "#{selector}{" entries.each do |key, value| css << "#{key}:#{value};" end css << "}\n" end return css end