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)

Parameters:
  • name (String) -- The placeholder name
def initialize(name)
  @name = name
end

def specificity

Other tags:
    See: AbstractSequence#specificity -
def specificity
  SPECIFICITY_BASE
end

def to_s(opts = {})

Other tags:
    See: Selector#to_s -
def to_s(opts = {})
  "%" + @name
end