Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
index « Hash « Ruby
Ruby
Hash
index
1.
return a value for a given key (one key only) with the index method
2.
use square brackets to reference the element you wish to retrieve
3.
Change values in hash in the same way as an array
4.
Get Hash value by index
5.
pulling stuff out of zip.