From: "Ara.T.Howard" Date: 2004-07-29T22:31:45+09:00 Subject: Re: IO issues: forking, select, and duplexing On Thu, 29 Jul 2004, Yukihiro Matsumoto wrote: > If your IO-like object contains a reference to a real IO object that can be > a target of select, you can call select on the IO-like object by just adding > "to_io" method that returns real IO object. you mean this will (is) supported? class Klass def initialize path @io = open path end def to_io @io end end cool. can you give a quick brain dump of other to_XXX method we might want to know about? kind regards. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================