class Sass::Selector::Class

A class selector (e.g. ‘.foo`).

def initialize(name)

Parameters:
  • name (Array) -- The class name
def initialize(name)
  @name = name
end

def to_a

Other tags:
    See: Selector#to_a -
def to_a
  [".", *@name]
end