From: David Masover Date: 2008-07-19T10:16:29+09:00 Subject: Re: Array.drop doesn't work On Wednesday 16 July 2008 08:00:13 Dave Bass wrote: > Frederick Cheung wrote: > > Seems like this was added in 1.8.7 (if you look at the docs for 1.8.6 > > you'll see it's not there) > > Workaround: in 1.8.6 use something like > > arr = n.times { arr.shift } Untested implementation, then: class Array def drop(n) self.slice!(0,n) end end