Module: Dynamoid::Undumping::UndumpHashHelper

Extended by:
UndumpHashHelper
Included in:
UndumpHashHelper
Defined in:
lib/dynamoid/undumping.rb

Instance Method Summary collapse

Instance Method Details

#undump_hash(hash) ⇒ Object



54
55
56
57
58
# File 'lib/dynamoid/undumping.rb', line 54

def undump_hash(hash)
  {}.tap do |h|
    hash.each { |key, value| h[key.to_sym] = undump_hash_value(value) }
  end
end