Class: CSS::Selectors::RelativeSelectorList

Inherits:
Data
  • Object
show all
Includes:
Node
Defined in:
lib/css/selectors/nodes.rb

Overview

The argument of ‘:has()` — a comma-separated list of relative selectors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#selectorsObject (readonly)

Returns the value of attribute selectors

Returns:

  • (Object)

    the current value of selectors



85
86
87
# File 'lib/css/selectors/nodes.rb', line 85

def selectors
  @selectors
end

Instance Method Details

#to_sObject



87
# File 'lib/css/selectors/nodes.rb', line 87

def to_s = Selectors::Serializer.serialize(self)