File: //usr/share/ri/3.0.0/system/Socket/unix-c.ri
U:RDoc::AnyMethod[iI" unix:ETI"Socket::unix;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Ecreates a new socket connected to path using UNIX socket socket.;To:RDoc::Markup::BlankLine o;
; [I"?If a block is given, the block is called with the socket. ;TI")The value of the block is returned. ;TI"3The socket is closed when this method returns.;T@o;
; [I"2If no block is given, the socket is returned.;T@o:RDoc::Markup::Verbatim; [I"!# talk to /tmp/sock socket.
;TI"&Socket.unix("/tmp/sock") {|sock|
;TI"7 t = Thread.new { IO.copy_stream(sock, STDOUT) }
;TI"# IO.copy_stream(STDIN, sock)
;TI" t.join
;TI"};T:@format0:
@fileI"ext/socket/lib/socket.rb;T:0@omit_headings_from_table_of_contents_below00I"socket;T[ I"(path);T@FI"Socket;TcRDoc::NormalClass00