mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[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
This commit is contained in:
parent
adc0898538
commit
3a05da1321
10 changed files with 12 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue