1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/net/http.rb: set old class aliases for backward compatibility. [ruby-talk:74863]

* lib/net/protocol.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2003-07-02 02:05:35 +00:00
parent 28f8fc7f88
commit f473140e62
3 changed files with 20 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Wed Jul 2 11:10:47 2003 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb: set old class aliases for backward
compatibility. [ruby-talk:74863]
* lib/net/protocol.rb: ditto.
Wed Jul 2 01:32:40 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* lib/net/pop.rb (Net::POP3#start): typofix.

View file

@ -1738,9 +1738,15 @@ module Net
end
# for backward compatibility
class HTTP
ProxyMod = ProxyDelta
end
module NetPrivate
HTTPRequest = ::Net::HTTPRequest
end
HTTPInformationCode = HTTPInformation
HTTPSuccessCode = HTTPSuccess
HTTPRedirectionCode = HTTPRedirection

View file

@ -449,4 +449,10 @@ module Net
end
# For backward compatibility
module NetPrivate
Socket = ::Net::InternetMessageIO
end
end # module Net