diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-12 06:04:40 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-12 06:04:40 +0000 |
commit | beffb7f8357091b17d5783d6f1b921c4d8727250 (patch) | |
tree | 62ab3effac982be552d42e7da2709d7356d91e9d /lib/net/smtp.rb | |
parent | 960676a2de16f046be01f0ef54ec4efe93ce612d (diff) | |
download | ruby-beffb7f8357091b17d5783d6f1b921c4d8727250.tar.gz |
aamine
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26.
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb:
add module Net::NetPrivate and its inner classes
{Read,Write}Adapter, Command, Socket,
SMTPCommand, POP3Command, APOPCommand, HTTPCommand
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r-- | lib/net/smtp.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 57e4116f2e..0b4313c520 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -1,6 +1,6 @@ =begin -= net/smtp.rb += net/smtp.rb version 1.1.27 written by Minero Aoki <aamine@dp.u-netsurf.ne.jp> @@ -84,7 +84,7 @@ module Net class SMTP < Protocol protocol_param :port, '25' - protocol_param :command_type, '::Net::SMTPCommand' + protocol_param :command_type, '::Net::NetPrivate::SMTPCommand' def initialize( addr = nil, port = nil ) @@ -157,6 +157,9 @@ module Net + module NetPrivate + + class SMTPCommand < Command def initialize( sock ) @@ -286,4 +289,7 @@ module Net end -end + + end # module Net::NetPrivate + +end # module Net |