From c9dd4823d98141754842c0b356b141d94ba36604 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 20 Mar 2010 03:30:59 +0000 Subject: * 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 --- lib/net/https.rb | 2 +- lib/net/smtp.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/net') 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 -- cgit v1.2.3