* lib/net/protocol.rb: rename Net::Socket to Net::BufferedSocket


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2001-12-20 05:00:20 +00:00
parent a76e21e612
commit 5a4187f2c2
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
Thu Dec 20 14:08:20 2001 Minero Aoki <aamine@loveruby.net>
* lib/net/protocol.rb: rename Net::Socket to Net::BufferedSocket
Wed Dec 19 16:58:29 2001 Shugo Maeda <shugo@ruby-lang.org>
* ext/readline/readline.c: new methods

View File

@ -70,7 +70,7 @@ module Net
protocol_param :port, 'nil'
protocol_param :command_type, 'nil'
protocol_param :socket_type, '::Net::Socket'
protocol_param :socket_type, '::Net::BufferedSocket'
def initialize( addr, port = nil )
@ -434,7 +434,7 @@ module Net
end
class Socket
class BufferedSocket
def initialize( addr, port, otime = nil, rtime = nil, dout = nil )
@addr = addr
@ -820,7 +820,7 @@ module Net
WriteAdapter = ::Net::WriteAdapter
ReadAdapter = ::Net::ReadAdapter
Command = ::Net::Command
Socket = ::Net::Socket
Socket = ::Net::BufferedSocket
end
end # module Net