Sass::Selector::Simple
An id selector (e.g. `#`).
The id name.
@return [Array]
@param name [Array] The id name
# File lib/sass/selector.rb, line 65 65: def initialize(name) 66: @name = name 67: end
@see Selector#to_a
# File lib/sass/selector.rb, line 70 70: def to_a 71: ["#", *@name] 72: end
Returns `nil` if `sels` contains an {Id} selector with a different name than this one.
@see Selector#unify
# File lib/sass/selector.rb, line 78 78: def unify(sels) 79: return if sels.any? {|sel2| sel2.is_a?(Id) && self.name != sel2.name} 80: super 81: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.