Class: CSSPool::CSS::DocumentQuery
- Defined in:
- lib/csspool/css/document_query.rb
Instance Attribute Summary collapse
-
#rule_sets ⇒ Object
Returns the value of attribute rule_sets.
-
#url_functions ⇒ Object
Returns the value of attribute url_functions.
Attributes inherited from Node
#inner_end_pos, #inner_start_pos, #outer_end_pos, #outer_start_pos
Instance Method Summary collapse
-
#initialize(url_functions) ⇒ DocumentQuery
constructor
A new instance of DocumentQuery.
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_sets ⇒ Object
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_functions ⇒ Object
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 |