diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-12 16:42:46 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-06-12 16:42:46 +0000 |
commit | 9f32fd3e9a0566e9258dda883e3ecf6f5474096d (patch) | |
tree | 3594690de77e31bad8bd108ea699117f3b7e9ddc /lib/net/smtp.rb | |
parent | b0ed08600a71784085b9b4621a4c4fcdbe0ae1cd (diff) |
o protocol.rb, smtp.rb, pop.rb, http.rb: define all#inspect()
o protocol.rb, smtp.rb, pop.rb, http.rb: modify/add documents
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r-- | lib/net/smtp.rb | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index d11cff6235..bc346d3138 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -7,17 +7,6 @@ written by Minero Aoki <aamine@dp.u-netsurf.ne.jp> This library is distributed under the terms of the Ruby license. You can freely distribute/modify this library. -=end - - -require 'net/protocol' -require 'md5' - - -module Net - - -=begin == Net::SMTP @@ -81,6 +70,13 @@ Net::Protocol =end +require 'net/protocol' +require 'md5' + + +module Net + + class SMTP < Protocol protocol_param :port, '25' |