diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-20 03:30:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-20 03:30:59 +0000 |
commit | c9dd4823d98141754842c0b356b141d94ba36604 (patch) | |
tree | f2b25b637c22571cfc5c1eed76ee62b19520b47f /lib/net | |
parent | 772cc7a4f212fa3249f88c98b19645beb7f3d199 (diff) |
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/https.rb | 2 | ||||
-rw-r--r-- | lib/net/smtp.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/https.rb b/lib/net/https.rb index 9839504870..7454279508 100644 --- a/lib/net/https.rb +++ b/lib/net/https.rb @@ -71,7 +71,7 @@ It can be replaced by the following code: : verify_mode, verify_mode=((|mode|)) Sets the flags for server the certification verification at - begining of SSL/TLS session. + beginning of SSL/TLS session. OpenSSL::SSL::VERIFY_NONE or OpenSSL::SSL::VERIFY_PEER is acceptable. : verify_callback, verify_callback=((|proc|)) diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 8c50e28dd0..871a4fb8e7 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -118,7 +118,7 @@ module Net # Net::SMTP.start('your.smtp.server', 25) do |smtp| # smtp.send_message msgstr, # 'your@mail.address', - # 'his_addess@example.com' + # 'his_address@example.com' # end # # === Closing the Session |