Content deleted Content added
Line 1,673:
In [[Ruby programming language|Ruby]] a hash table is used as follows:
<syntaxhighlight lang="
phonebook = {
'Sally Smart' => '555-9999',
Line 1,679:
'J. Random Hacker' => '553-1337'
}
▲irb(main):006:0> phonebook['John Doe']
</syntaxhighlight>
|