Use hashes, here's some examples on how to get started (all of these do the same thing, just different syntax):
a = Hash.new
a["Peter"] = 32
a["Quagmire"] = 'asdas'
Or you could do:
a = {}
a["Peter"] = 32
a["Quagmire"] = 'asdas'
Or even a one liner:
a = {"Peter" => 32, "Quagmire" => 'gigity'}