diff options
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 |