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)

Parameters:
  • The (Selector::CommaSequence) -- selector argument
  • The (String) -- name of the pseudoclass
def initialize(name, selector)
  @name = name
  @selector = selector
end

def specificity

Other tags:
    See: AbstractSequence#specificity -
def specificity
  SPECIFICITY_BASE
end

def to_a

Other tags:
    See: Selector#to_a -
def to_a
  [":", @name, "("] + @selector.to_a + [")"]
end