Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/data_magic/core_ext/hash.rb

Instance Method Summary collapse

Instance Method Details

#deep_copyObject


2
3
4
# File 'lib/data_magic/core_ext/hash.rb', line 2

def deep_copy
  Marshal.load(Marshal.dump(self))
end