Programming Ruby Hashes
#hashes
numbers=Hash.new
numbers["one"]=1
numbers["two"]=2
numbers["three"]=3
sum=numbers["one"]+numbers["two"]+numbers["three"]
puts sum
members={"one"=>1,"two"=>2,"three"=>3}
p members
members={:one=>1,:two=>2,:three=>3}
p members
return
{"one"=>1, "two"=>2, "three"=>3}
{:one=>1, :two=>2, :three=>3}
members={one:1,two:2,three:3}
p members
return
{:one=>1, :two=>2, :three=>3}