Class | Sass::Script::Value::List |
In: |
lib/sass/script/value/list.rb
|
Parent: | Base |
A SassScript object representing a CSS list. This includes both comma-separated lists and space-separated lists.
value | -> | to_a |
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<Value>] |
Asserts an index is within the list.
@private
@param list [Sass::Script::Value::List] The list for which the index should be checked. @param n [Sass::Script::Value::Number] The index being checked.