summaryrefslogtreecommitdiff
path: root/ext/socket/basicsocket.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-31 08:41:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-31 08:41:13 +0000
commitd784451678c248b69bced992d9d74f83cfef9995 (patch)
treea680b459ab78d66b2dfa4a7c6aa4a02812265530 /ext/socket/basicsocket.c
parent29d994d33d3fdc0fe8fa1c1b002c32a22c8d52d5 (diff)
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/basicsocket.c')
-rw-r--r--ext/socket/basicsocket.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/socket/basicsocket.c b/ext/socket/basicsocket.c
index 6b746d0..fdbbd15 100644
--- a/ext/socket/basicsocket.c
+++ b/ext/socket/basicsocket.c
@@ -258,11 +258,12 @@ bsock_setsockopt(int argc, VALUE *argv, VALUE sock)
#if !defined(__BEOS__)
/*
* Document-method: getsockopt
- * call-seq: getsockopt(level, optname)
+ * call-seq:
+ * getsockopt(level, optname) => socketoption
*
* Gets a socket option. These are protocol and system specific, see your
* local system documentation for details. The option is returned as
- * a String with the data being the binary value of the socket option.
+ * a Socket::Option.
*
* === Parameters
* * +level+ is an integer, usually one of the SOL_ constants such as