Array#accept

Since there's an Array#reject, shouldn't there be an Array#accept?
-r

···

--
Posted via http://www.ruby-forum.com/.

Roger Pack wrote:

Since there's an Array#reject, shouldn't there be an Array#accept?
-r

It's called Array#select.

···

--
Posted via http://www.ruby-forum.com/\.

Maybe, but there's Array#select instead.

···

On Oct 9, 1:31 pm, Roger Pack <rogerpack2...@gmail.com> wrote:

Since there's an Array#reject, shouldn't there be an Array#accept?