Class: HashTable::Traits
- Inherits:
-
Object
- Object
- HashTable::Traits
- Defined in:
- lib/hashtable/traits.rb
Instance Method Summary collapse
- #hash_lookup_key(key) ⇒ Object
- #lookup_key_to_storage_key(key) ⇒ Object
- #storage_key_to_lookup_key(key) ⇒ Object
Instance Method Details
#hash_lookup_key(key) ⇒ Object
6 7 8 |
# File 'lib/hashtable/traits.rb', line 6 def hash_lookup_key(key) key end |
#lookup_key_to_storage_key(key) ⇒ Object
10 11 12 |
# File 'lib/hashtable/traits.rb', line 10 def lookup_key_to_storage_key(key) key end |
#storage_key_to_lookup_key(key) ⇒ Object
14 15 16 |
# File 'lib/hashtable/traits.rb', line 14 def storage_key_to_lookup_key(key) key end |