diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-20 07:19:58 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-20 07:19:58 +0000 |
commit | 0974d86d41c944716ac3b703306e782d0027896d (patch) | |
tree | efc446ec7b76e1e55b55e7febbb746caa85d7db5 /lib/open-uri.rb | |
parent | 548ba36ef5192f4de3951c1216feeb28c71b4f33 (diff) | |
download | ruby-0974d86d41c944716ac3b703306e782d0027896d.tar.gz |
* lib/open-uri.rb: Improved documentation grammar for
open-uri#open option. [Misc #11329][ruby-core:69868][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/open-uri.rb')
-rw-r--r-- | lib/open-uri.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb index 2414f5101c..b09c18efd9 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -638,8 +638,8 @@ module OpenURI # is called before actual transfer is started. # It takes one argument, which is expected content length in bytes. # - # If two or more transfer is done by HTTP redirection, the procedure - # is called only one for a last transfer. + # If two or more transfers are performed by HTTP redirection, the + # procedure is called only once for the last transfer. # # When expected content length is unknown, the procedure is called with # nil. This happens when the HTTP response has no Content-Length header. |