From: Brian Candler Date: 2007-03-14T06:01:19+09:00 Subject: Re: Bi-directional pipe? On Wed, Mar 14, 2007 at 05:35:52AM +0900, ara.t.howard@noaa.gov wrote: > On Wed, 14 Mar 2007, Rob Biedenharn wrote: > > >On Mar 13, 2007, at 4:15 PM, Brian Candler wrote: > >>Is there any standard Ruby way of creating a bidirectional pipe or > >>socketpair? > > require 'socket' > Socket.pair .... irb(main):015:0> require 'socket' => true irb(main):016:0> a = Socket.pair ArgumentError: wrong number of arguments (0 for 3) from (irb):16:in `pair' from (irb):16 from :0 OK, so it exists, it's just not documented in ri - time to grep the source I guess. Thanks for the pointer.