Kernel#select docs broken?

G

George Ogata

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.html#M005771

The old Pickaxe is a bit better...

http://www.rubycentral.com/book/ref_m_kernel.html#Kernel.select

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top