Hi,

In message "Re: select and select"
    on 02/09/22, Tom Gilbert <tom / linuxbrit.co.uk> writes:

|It's okay. But why not overload "values"?

It sounds nice but it doesn't satisfy the second requirement in
[ruby-talk:50750]:

|A new method (say "quux" for example) should satisfy
|
|  * obj.quux(a,b,c) returns [obj[a],obj[b],obj[c]] for all indexable
|    collections (i.e. Array, Hash, MatchData and Struct), perhaps
|    except for String, which is mere string of characters rather than
|    indexable collection.  So preferably it should sound natural both
|    for arrays, hashes and others.
|
|  * obj.quux() either returns an empty array or causes exception, due
|    to the case like obj.quux(*ary) where ary is an empty array.

							matz.