class Sass::Selector::Placeholder
A placeholder selector (e.g. ‘%foo`). This exists to be replaced via `@extend`. Rulesets using this selector will not be printed, but can be extended. Otherwise, this acts just like a class selector.
Attributes
The placeholder name.
@return [String]
Public Class Methods
Source
# File lib/sass/selector.rb, line 125 def initialize(name) @name = name end
@param name [String] The placeholder name
Public Instance Methods
Source
# File lib/sass/selector.rb, line 135 def specificity SPECIFICITY_BASE end
Source
# File lib/sass/selector.rb, line 130 def to_s(opts = {}) "%" + @name end
@see Selector#to_s