Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
Comparison of programming languages (associative array): Difference between revisions
Article
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 15:26, 14 November 2008
edit
Dreftymac
(
talk
|
contribs
)
Extended confirmed users
8,939
edits
m
→
PHP
:
ed
← Previous edit
Revision as of 15:32, 14 November 2008
edit
undo
Dreftymac
(
talk
|
contribs
)
Extended confirmed users
8,939
edits
→
Ruby
:
ed
Next edit →
Line 825:
<code>phonebook['John Doe']</code> produces <code>'555-1212'</code>
To
Ruby
iterate
supports
over
hash
the
looping
hash,
and
use
iteration
something like
with
the following
syntax
:
<source lang="ruby">