data_structures/simple_dict.rb

tests/_examples/data_structures/simple_dict.rb in the metorex repository.

ages = {"alice" => 30, "bob" => 25}

puts ages
puts ages['alice']

Output:

{"alice" => 30, "bob" => 25}
30