ruby-changes:10724
From: akr <ko1@a...>
Date: Fri, 13 Feb 2009 21:02:01 +0900 (JST)
Subject: [ruby-changes:10724] Ruby:r22288 (trunk): rdoc update.
akr 2009-02-13 21:01:53 +0900 (Fri, 13 Feb 2009) New Revision: 22288 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22288 Log: rdoc update. Modified files: trunk/ext/socket/basicsocket.c Index: ext/socket/basicsocket.c =================================================================== --- ext/socket/basicsocket.c (revision 22287) +++ ext/socket/basicsocket.c (revision 22288) @@ -369,7 +369,11 @@ * The result is a two element array which contains the effective uid and the effective gid. * * Socket.unix_server_loop("/tmp/sock") {|s| - * p s.getpeereid #=> [1000, 1000] + * begin + * p s.getpeereid #=> [1000, 1000] + * ensure + * s.close + * end * } * */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/