class Sass::Value::List

def at(index)

Returns:
  • (Value) -

Parameters:
  • index (Numeric) --
def at(index)
  index = index.floor
  index = to_a.length + index if index.negative?
  return nil if index.negative? || index >= to_a.length
  to_a[index]
end