data_structures/dict_access.rb
tests/_examples/data_structures/dict_access.rb in the metorex repository.
person = {"name" => "Ada", "city" => "London"}
message = person["name"] + " lives in " + person["city"]
puts message
Output:
Ada lives in London