Hash#select returns an array but Hash#reject returns a hash

Hi –

On Wed, 2 Jul 2008, Robert D. wrote:

On Wed, Jul 2, 2008 at 4:07 AM, David A. Black [email protected] wrote:

It depends on the class, though. Neither File#select nor File#reject
is going to be return a File object.
OMG, but are these names really baring the same semantic meaning?

It’s all Enumerable-based, ultimately, though some classes do
overrides.

David