Parent

Methods

Class/Module Index [+]

Quicksearch

Sass::Selector::SelectorPseudoClass

A pseudoclass selector whose argument is itself a selector (e.g. `:not(.foo)` or `:-moz-all(.foo, .bar)`).

Attributes

name[R]

The name of the pseudoclass.

@return [String]

selector[R]

The selector argument.

@return [Selector::Sequence]

Public Instance Methods

to_a() click to toggle source

@see Selector#to_a

# File lib/sass/selector.rb, line 356
def to_a
  [":", @name, "("] + @selector.to_a + [")"]
end

Public Class Methods

new(name, selector) click to toggle source

@param [String] The name of the pseudoclass @param [Selector::Sequence] The selector argument

# File lib/sass/selector.rb, line 350
def initialize(name, selector)
  @name = name
  @selector = selector
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.