Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

Ruby deep clone with Marshal

a = [ [1,2] ]
b = Marshal.load( Marshal.dump(a) )
Source by www.thoughtco.com #
 
PREVIOUS NEXT
Tagged: #Ruby #deep #clone #Marshal
ADD COMMENT
Topic
Name
5+3 =