RubyGems Navigation menu

with_reverse_lookup 0.0.1

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.

Gemfile:
=

installieren:
=

Versionen:

  1. 0.0.1 September 01, 2010 (4 KB)

Besitzer:

Autoren:

  • Matt Todd

SHA 256-Prüfsumme:

=

Downloads insgesamt 4.479

Für diese Version 4.479

Version veröffentlicht:

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: