Categories: None [Edit]
with_reverse_lookup
Provides a simple modification to existing hashes to provide key lookup
by value in addition to value lookup by key.
For example:
TABLE = { :key => 1 }.extend(WithReverseLookup)
TABLE[:key] #=> 1
TABLE[1] #=> :key
This is mostly useful for lookup tables.
Total
Ranking: 128,614 of 192,137
Downloads: 5,056
Daily
Ranking: 123,214 of 192,103
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | mtodd |