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
Mike
On 12/19/06, msoulier [email protected] 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.
module Kernel - RDoc Documentation
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.