1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

rdoc update.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-13 12:01:53 +00:00
parent 5b8339edf6
commit 840e6c70e8

View file

@ -369,7 +369,11 @@ bsock_getpeername(VALUE sock)
* 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
* }
*
*/