summaryrefslogtreecommitdiff
path: root/lib/net/smtp.rb
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-12 16:42:46 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-12 16:42:46 +0000
commit9f32fd3e9a0566e9258dda883e3ecf6f5474096d (patch)
tree3594690de77e31bad8bd108ea699117f3b7e9ddc /lib/net/smtp.rb
parentb0ed08600a71784085b9b4621a4c4fcdbe0ae1cd (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.rb18
1 files changed, 7 insertions, 11 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index d11cff6..bc346d3 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'