diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-13 12:01:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-13 12:01:53 +0000 |
commit | 840e6c70e811908236f5f3c5ae81eec817c6f461 (patch) | |
tree | ccd951508faf426fb5f2702963563cd990dd9a3a | |
parent | 5b8339edf65091d3fab69cd902954a8da291b33f (diff) |
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/socket/basicsocket.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/socket/basicsocket.c b/ext/socket/basicsocket.c index fd7493095d..5510c659f8 100644 --- a/ext/socket/basicsocket.c +++ b/ext/socket/basicsocket.c @@ -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 * } * */ |