Array#accept

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

Roger P. wrote:

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

It’s called Array#select.

On Oct 9, 1:31 pm, Roger P. [email protected] wrote:

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

Maybe, but there’s Array#select instead.