Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/hash_extensions.rb

Instance Method Summary collapse

Instance Method Details

#deep_copyObject



4
5
6
# File 'lib/ext/hash_extensions.rb', line 4

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