From: Bil Kleb Date: 2009-07-03T03:35:09+09:00 Subject: Re: delete_if_with_index or delete_at(array) in 1.8.6? Robert Klemme wrote: > irb(main):002:0> i = -1 > irb(main):003:0> a.delete_if {|x| i += 1; x < i} Ah, if it weren't for the two lines, I think I'd pick this one. Regards, -- http://twitter.com/bil_kleb