Class: Hash

Inherits:
Object show all
Defined in:
lib/wdd-ruby-ext/hash.rb

Instance Method Summary collapse

Instance Method Details

#deep_dupObject



2
3
4
5
6
# File 'lib/wdd-ruby-ext/hash.rb', line 2

def deep_dup  
  deep_duping_obj = super
  deep_duping_obj.each {|key,value| deep_duping_obj[key] = value.deep_dup}
  deep_duping_obj
end