class Sass::Selector::Placeholder
Otherwise, this acts just like a class selector.
Rulesets using this selector will not be printed, but can be extended.
This exists to be replaced via ‘@extend`.
A placeholder selector (e.g. `%foo`).
def initialize(name)
-
name
(String
) -- The placeholder name
def initialize(name) @name = name end
def specificity
- See: AbstractSequence#specificity -
def specificity SPECIFICITY_BASE end
def to_s(opts = {})
- See: Selector#to_s -
def to_s(opts = {}) "%" + @name end