Class: Hashtastic::DictionaryValuesHasher

Inherits:
Object
  • Object
show all
Defined in:
lib/hashtastic/dictionary_values_hasher.rb

Class Method Summary collapse

Class Method Details

.call(dictionary, values_at) ⇒ Object



6
7
8
9
10
# File 'lib/hashtastic/dictionary_values_hasher.rb', line 6

def call(dictionary, values_at)
  values = extract_values(dictionary, values_at)

  ListHasher.call(values)
end