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

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

Methods

new   specificity   to_s   unify  

Attributes

name  [R]  The id name.

@return [String]

Public Class methods

@param name [String] The id name

Public Instance methods

@see Selector#to_s

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

@see Selector#unify

[Validate]