class Sass::Selector::Negation
A negation pseudoclass selector (e.g. ‘:not(.foo)`).
def initialize(selector)
-
The
(Selector
) -- selector to negate
def initialize(selector) @selector = selector end
def to_a
- See: Selector#to_a -
def to_a [":not("] + @selector.to_a + [")"] end