Sha256: cbf576172c8d62960cd2ab745e215f16564794f80355dd4451bf1622e176c7bc
Contents?: true
Size: 178 Bytes
Versions: 7
Compression:
Stored size: 178 Bytes
Contents
#This extends the array class to add copy functionality. class Array def copy_to(array) self.map {|t| array << t} array end def copy self.map {|t| t} end end
Version data entries
7 entries across 7 versions & 1 rubygems