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 (4KB)

所有者:

作者:

  • Matt Todd

SHA 256チェックサム:

be3919b8dc3336e55236ca4715448613f6509840c7b91a138cf2ea1fcafd725a

累計ダウンロード数 4,354

このバージョンのみ 4,354

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: