Method: Hash#deep_thaw

Defined in:
lib/doing/hash.rb

#deep_thawObject



24
25
26
27
28
29
30
31
# File 'lib/doing/hash.rb', line 24

def deep_thaw
  chilled = {}
  each do |k, v|
    chilled[k] = v.is_a?(Hash) ? v.deep_thaw : v.dup
  end

  chilled.dup
end