diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-15 23:08:39 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-15 23:08:39 +0000 |
commit | 12979424515344460afb12002ce07b670bf7cd6f (patch) | |
tree | 2d85f664a0fb708e459a30c56738487948ced8f9 /ext/socket/init.c | |
parent | 39e112f89a4e7471bb95ec516b05c75ac6df5aa9 (diff) | |
download | ruby-12979424515344460afb12002ce07b670bf7cd6f.tar.gz |
* ext/socket: Make Socket documentation appear. Add documentation for
Socket, TCPServer, SOCKSSocket. Patch by Sylvain Daubert.
[Ruby 1.9 - Feature #5182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/init.c')
-rw-r--r-- | ext/socket/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/socket/init.c b/ext/socket/init.c index 8df1aee9bf..0a2365850f 100644 --- a/ext/socket/init.c +++ b/ext/socket/init.c @@ -531,12 +531,12 @@ rsock_getfamily(int sockfd) return ss.ss_family; } -/* - * SocketError is the error class for socket. - */ void rsock_init_socket_init() { + /* + * SocketError is the error class for socket. + */ rb_eSocket = rb_define_class("SocketError", rb_eStandardError); rsock_init_ipsocket(); rsock_init_tcpsocket(); |