# File lib/csspool/css/document_handler.rb, line 15 def charset name, location @document.charsets << CSS::Charset.new(name, location) end
# File lib/csspool/css/document_handler.rb, line 46 def end_media media_list, parse_location = {} @media_stack.pop end
# File lib/csspool/css/document_handler.rb, line 19 def import_style media_list, uri, ns = nil, loc = {} @document.import_rules << CSS::ImportRule.new( uri, ns, media_list.map { |x| CSS::Media.new(x, loc) }, @document, loc ) end
# File lib/csspool/css/document_handler.rb, line 37 def property name, exp, important rs = @document.rule_sets.last rs.declarations << Declaration.new(name, exp, important, rs) end
# File lib/csspool/css/document_handler.rb, line 11 def start_document @document = CSSPool::CSS::Document.new end
Generated with the Darkfish Rdoc Generator 2.