class Sass::Selector::SelectorPseudoClass
(e.g. ‘:not(.foo)` or `:-moz-all(.foo, .bar)`).
A pseudoclass selector whose argument is itself a selector
def initialize(name, selector)
-
The
(Selector::Sequence
) -- selector argument -
The
(String
) -- name of the pseudoclass
def initialize(name, selector) @name = name @selector = selector end
def to_a
- See: Selector#to_a -
def to_a [":", @name, "("] + @selector.to_a + [")"] end