Class Sass::Selector::Id
In: lib/sass/selector.rb
Parent: Simple

An id selector (e.g. `foo`).

Methods

new   to_a   unify  

Attributes

name  [R]  The id name.

@return [Array<String, Sass::Script::Node>]

Public Class methods

@param name [Array<String, Sass::Script::Node>] The id name

Public Instance methods

@see Selector#to_a

Returns `nil` if `sels` contains an {Id} selector with a different name than this one.

@see Selector#unify

[Validate]