From daa739876f1bbd14b043a6361e9d434d324afff5 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 21 Mar 2010 10:50:52 +0000 Subject: * ext/socket: make sources rdoc friendly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/lib/socket.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/socket/lib') diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb index 5dd5ca651c..1ff05b820a 100644 --- a/ext/socket/lib/socket.rb +++ b/ext/socket/lib/socket.rb @@ -158,7 +158,7 @@ class Addrinfo end end -class BasicSocket +class BasicSocket < IO # Returns an address of the socket suitable for connect in the local machine. # # This method returns _self_.local_address, except following condition. @@ -200,7 +200,7 @@ class BasicSocket end end -class Socket +class Socket < BasicSocket # enable the socket option IPV6_V6ONLY if IPV6_V6ONLY is available. def ipv6only! if defined? Socket::IPV6_V6ONLY -- cgit v1.2.3