Methods

Class Index [+]

Quicksearch

Sass::Selector::Parent

A parent-referencing selector (`&` in Sass). The function of this is to be replaced by the parent selector in the nested hierarchy.

Public Instance Methods

to_a() click to toggle source

@see Selector#to_a

    # File lib/sass/selector.rb, line 26
26:       def to_a
27:         ["&"]
28:       end
unify(sels) click to toggle source

Always raises an exception.

@raise [Sass::SyntaxError] Parent selectors should be resolved before unification @see Selector#unify

    # File lib/sass/selector.rb, line 34
34:       def unify(sels)
35:         raise Sass::SyntaxError.new("[BUG] Cannot unify parent selectors.")
36:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.