[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Kernel#select docs broken?

msoulier

12/19/2006 2:04:00 AM

I'm trying to find out how to use Kernel#select or IO#select.
Unfortunately, the online docs aren't very helpful. The entry for
IO#select tells me to see Kernel#select, which links to the same spot.

http://www.ruby-doc.org/core/classes/Kernel.ht...

Mike

1 Answer

George

12/19/2006 2:33:00 AM

0

On 12/19/06, msoulier <msoulier@gmail.com> wrote:
> I'm trying to find out how to use Kernel#select or IO#select.
> Unfortunately, the online docs aren't very helpful. The entry for
> IO#select tells me to see Kernel#select, which links to the same spot.
>
> http://www.ruby-doc.org/core/classes/Kernel.ht...

The old Pickaxe is a bit better...

http://www.rubycentral.com/book/ref_m_kernel.html#Ker...

The only thing I'd add to that is the things in the lists don't have
to be IO objects, they just need a #to_io method which returns an IO
object.