From: Robert Dober Date: 2008-12-05T02:31:13+09:00 Subject: Re: Enumerable#select used to return actual values On Thu, Dec 4, 2008 at 6:07 PM, Trans wrote: > [1,2,3].compact(1) #=> [2,3] > > Which is similar to #delete, except not in place. Indeed this is the behavior I had expected from delete and having a delete! for what delete does now. > Though, using #=== > instead of #== could be a very useful differentiation. Hmm a negative grep > > [1,2,3,:x,:y,:z].compact(Symbol) #=> [1,2,3] Now I really would rather think of #reject although I had a different idea for it which would answer your next question. > > Yet, what method is currently non-in-place #delete? > > T. > > R.