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:
=

安裝:
=

版本列表:

  1. 0.0.1 September 01, 2010 (4.0 KB)

擁有者:

作者:

  • Matt Todd

SHA 256 總和檢查碼:

=

總下載次數 4,479

這個版本 4,479

版本发布:

授權:

Ruby 版本需求:

相關連結: