class Sass::Selector::Negation

A negation pseudoclass selector (e.g. ‘:not(.foo)`).

def initialize(selector)

Parameters:
  • The (Selector) -- selector to negate
def initialize(selector)
  @selector = selector
end

def to_a

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