Module: ObjectExtensions

Defined in:
lib/yarel/extensions/object_extensions.rb

Instance Method Summary collapse

Instance Method Details

#deep_cloneObject



2
3
4
# File 'lib/yarel/extensions/object_extensions.rb', line 2

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