diff options
author | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-23 03:43:23 +0000 |
---|---|---|
committer | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-23 03:43:23 +0000 |
commit | c700927410e64c8a72e632c1ee5ab54b1084a3fa (patch) | |
tree | 3b2fee16a2d3ff4626cf53e6357c1c247b23c7da /lib/net | |
parent | 22e197dcf91cccdb3c5254447eea55ba29457535 (diff) | |
download | ruby-c700927410e64c8a72e632c1ee5ab54b1084a3fa.tar.gz |
[DOC] Fix typos
* benchmark.rb
* getoptlong.rb
* irb.rb
* net/http.rb
* net/http/header.rb
* net/imap.rb
* optparse.rb
* pstore.rb
* webrick.rb
* xmlrpc.rb
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/http.rb | 2 | ||||
-rw-r--r-- | lib/net/http/header.rb | 2 | ||||
-rw-r--r-- | lib/net/imap.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 8149215a1c..bc01b29bff 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -929,7 +929,7 @@ module Net #:nodoc: while true raise Net::OpenTimeout if timeout <= 0 start = Process.clock_gettime Process::CLOCK_MONOTONIC - # to_io is requied because SSLSocket doesn't have wait_readable yet + # to_io is required because SSLSocket doesn't have wait_readable yet case s.connect_nonblock(exception: false) when :wait_readable; s.to_io.wait_readable(timeout) when :wait_writable; s.to_io.wait_writable(timeout) diff --git a/lib/net/http/header.rb b/lib/net/http/header.rb index a911d5d255..5d99e8f070 100644 --- a/lib/net/http/header.rb +++ b/lib/net/http/header.rb @@ -378,7 +378,7 @@ module Net::HTTPHeader # +params+ is the form data set; it is an Array of Arrays or a Hash # +enctype is the type to encode the form data set. # It is application/x-www-form-urlencoded or multipart/form-data. - # +formpot+ is an optional hash to specify the detail. + # +formopt+ is an optional hash to specify the detail. # # boundary:: the boundary of the multipart message # charset:: the charset of the message. All names and the values of diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 8ddeb94c63..439ca13206 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -779,7 +779,7 @@ module Net # # The +set+ parameter is a number or a range between two numbers, # or an array of those. The number is a message sequence number, - # where -1 repesents a '*' for use in range notation like 100..-1 + # where -1 represents a '*' for use in range notation like 100..-1 # being interpreted as '100:*'. Beware that the +exclude_end?+ # property of a Range object is ignored, and the contents of a # range are independent of the order of the range endpoints as per |