Categories: None [Edit]

with_reverse_lookup

https://rubygems.org/gems/with_reverse_lookup
https://github.com/mtodd/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: 126,218 of 180,530
Downloads: 4,354

Daily

Ranking: 62,540 of 180,517
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconmtodd