Class: Object

Inherits:
BasicObject
Defined in:
lib/diakonos/core-ext/object.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) deep_clone



2
3
4
# File 'lib/diakonos/core-ext/object.rb', line 2

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