class Sass::Value::Map

def at(index)

def at(index)
  if index.is_a? Numeric
    index = index.floor
    index = to_a.length + index if index.negative?
    return nil if index.negative? || index >= to_a.length
    to_a[index]
  else
    contents[index]
  end
end