Class: CSS::Selectors::CompoundSelector
- Inherits:
-
Data
- Object
- Data
- CSS::Selectors::CompoundSelector
- Includes:
- Node
- Defined in:
- lib/css/selectors/nodes.rb
Overview
A run of simple selectors with no combinators between them, e.g. ‘a.foo:hover` or `[href]:not(:visited)`.
Instance Attribute Summary collapse
-
#components ⇒ Object
readonly
Returns the value of attribute components.
Instance Method Summary collapse
Instance Attribute Details
#components ⇒ Object (readonly)
Returns the value of attribute components
22 23 24 |
# File 'lib/css/selectors/nodes.rb', line 22 def components @components end |
Instance Method Details
#to_s ⇒ Object
24 |
# File 'lib/css/selectors/nodes.rb', line 24 def to_s = Selectors::Serializer.serialize(self) |