Sha256: 2d5aa9e64df4c1b9cf7e3594560c72596077ca3adff6a0a41a1c73660f944e01
Contents?: true
Size: 226 Bytes
Versions: 19
Compression:
Stored size: 226 Bytes
Contents
module Kernel # Anything that can be marshaled can be copied in totality. # This is also commonly called a deep_copy. # # "ABC".copy #=> "ABC" # def deep_copy Marshal::load(Marshal::dump(self)) end end
Version data entries
19 entries across 19 versions & 3 rubygems