| February 2, 2004 | Intro to Ruby | Slide #12 |
| Prev | Next |
Hashes can also be initialized in a number of ways:
|
Hashes are accessed with square brackets, just like arrays:
|
And hashes have lots of useful methods:
|
| Prev | Copyright © 2004 Walter C. Mankowski | Next |