Ruby/Hash/Key value
Материал из Wiki.crossplatform.ru
objects within a hash are given a key that points to them.
dictionary = { "cat" => "feline animal", "dog" => "canine animal" }
The variable storing the hash is dictionary, and it contains two entries
dictionary = { "cat" => "feline animal", "dog" => "canine animal" } puts dictionary.size