Class: Dommy::Internal::SelectorAST::SelectorList
- Inherits:
-
Struct
- Object
- Struct
- Dommy::Internal::SelectorAST::SelectorList
- Defined in:
- lib/dommy/internal/selector_ast.rb
Instance Attribute Summary collapse
-
#selectors ⇒ Object
Returns the value of attribute selectors.
Instance Method Summary collapse
Instance Attribute Details
#selectors ⇒ Object
Returns the value of attribute selectors
23 24 25 |
# File 'lib/dommy/internal/selector_ast.rb', line 23 def selectors @selectors end |
Instance Method Details
#specificity ⇒ Object
24 25 26 |
# File 'lib/dommy/internal/selector_ast.rb', line 24 def specificity selectors.map(&:specificity).max || ZERO end |