From: David Masover Date: 2008-07-20T05:25:44+09:00 Subject: Re: Array.drop doesn't work On Saturday 19 July 2008 10:11:44 Todd Benson wrote: > If the drop method alters the array, then you would have to modify > your workaround to do what the docs say. > > class Array > def drop(n) > self.slice!(0, n) > self > end > end Alright, I just tested it out in irb1.9. It seems to not alter the array, and to return all but the first n, as Robert says. So it would be: class Array def drop(n) self.slice(n, self.length-n) end end Or, another way: class Array def drop(n) self.last(self.length-n) end end