Bob Aman wrote:
>> I tried to model how Object mixes in Kernel and thereby recreate what
>> the op's results were.  Is that not the way it works?
> 
> Afraid not.  Object#select is what's being called, not Kernel.select.
> 


$ ri Object#select
Nothing known about Object#select

$ ri Kernel#select
---------------------------------------------------------- Kernel#select
     IO.select(read_array
     [, write_array
     [, error_array
     [, timeout]]] ) =>  array  or  nil
------------------------------------------------------------------------
     See +Kernel#select+.

Also in pickaxe2, it says all instance methods of Object come from 
Kernel, and it doesn't list select() as an instance method of Object.

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