aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/https.rb2
-rw-r--r--lib/net/smtp.rb2
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