Class: CSSPool::CSS::DocumentQuery

Inherits:
Node
  • Object
show all
Defined in:
lib/csspool/css/document_query.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#inner_end_pos, #inner_start_pos, #outer_end_pos, #outer_start_pos

Instance Method Summary collapse

Methods inherited from Node

#==, #accept, #children, #each, #hash, #to_css, #to_minified_css

Constructor Details

#initialize(url_functions) ⇒ DocumentQuery

Returns a new instance of DocumentQuery.



8
9
10
11
# File 'lib/csspool/css/document_query.rb', line 8

def initialize url_functions
  @url_functions = url_functions
  @rule_sets = []
end

Instance Attribute Details

#rule_setsObject

Returns the value of attribute rule_sets.



6
7
8
# File 'lib/csspool/css/document_query.rb', line 6

def rule_sets
  @rule_sets
end

#url_functionsObject

Returns the value of attribute url_functions.



5
6
7
# File 'lib/csspool/css/document_query.rb', line 5

def url_functions
  @url_functions
end