From: Gavin Sinclair Date: 2005-10-08T11:41:50+09:00 Subject: Re: select! not present but reject! is David A. Black wrote: > > arr = (1..10).to_a > > arr.select! { |n| n % 2 == 0 } # -> arr == [1,3,5,7,9]; self is > > returned > > > > It's a no-brainer. Consistency is paramount! > > Your select! works exactly like reject!. That might be a bit too much > consistency :-) Ah, you can never have too much consistency... :) Gavin