Class Sass::Script::List
In: lib/sass/script/list.rb
Parent: Literal

A SassScript object representing a CSS list. This includes both comma-separated lists and space-separated lists.

Methods

_perform   deep_copy   eq   inspect   new   to_s   to_sass  

External Aliases

value -> children
value -> to_a

Attributes

separator  [R]  The operator separating the values of the list. Either `:comma` or `:space`.

@return [Symbol]

value  [R]  The Ruby array containing the contents of the list.

@return [Array<Literal>]

Public Class methods

Creates a new list.

@param value [Array<Literal>] See \{value} @param separator [String] See \{separator}

Public Instance methods

@see Node#eq

@see Node#inspect

@see Node#to_s

Protected Instance methods

[Validate]