From: Roger Pack Date: 2009-12-23T01:29:01+09:00 Subject: Re: select! > Enumerable does not have a reject! since not all Enumerables are > mutable either in general or during enumeration Yeah this is a feature request only for Array#select! [Enumerable doesn't have a reject! nor should it have a select!] > Maybe Matz felt that using "select" to actually _delete_ from an Array > would be considered weird. And indeed, we have #delete, #delete_at > and #delete_if: His words: > Enumerables cannot have bang method, since they are not always > mutable. The reason we don't have Array#select! is that I feel the > word select means picking up elements, not removing non-selecting > elements. But I once felt same way to map! and (English speaking) > people persuaded me, so same thing could happen on select! as well. So yes but hopefully I can change his mind :) -r -- Posted via http://www.ruby-forum.com/.