Sha256: 6d91bd710cb860ff0767a1ff1cca9f0af1fc68eb81f34fe2679d06af4620e270

Contents?: true

Size: 243 Bytes

Versions: 5

Compression:

Stored size: 243 Bytes

Contents

require_relative '../lib/mpatch/array'
MPatch.patch!

asd= [1,2,3,4,5]

puts asd.inspect

puts asd.skip.inspect
puts asd.inspect
asd.skip!.inspect
puts asd.inspect

puts asd.pinch.inspect
puts asd.inspect

asd.pinch!.inspect
puts asd.inspect

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mpatch-2.12.2 examples/array.rb
mpatch-2.12.1 examples/array.rb
mpatch-2.12.0 examples/array.rb
mpatch-2.11.0 examples/array.rb
mpatch-2.9.0 examples/array.rb