Class: CSS::Selectors::PseudoClass
- Inherits:
-
Data
- Object
- Data
- CSS::Selectors::PseudoClass
- Includes:
- Node
- Defined in:
- lib/css/selectors/nodes.rb
Overview
‘argument` is `nil`, a `SelectorList` (`:not/:is/:where/:has`), an `AnB` (`:nth-*`), or a raw `Array<Token>` for unrecognized functional pseudos.
Instance Attribute Summary collapse
-
#argument ⇒ Object
readonly
Returns the value of attribute argument.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Attribute Details
#argument ⇒ Object (readonly)
Returns the value of attribute argument
50 51 52 |
# File 'lib/css/selectors/nodes.rb', line 50 def argument @argument end |
#name ⇒ Object (readonly)
Returns the value of attribute name
50 51 52 |
# File 'lib/css/selectors/nodes.rb', line 50 def name @name end |