diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-17 15:08:03 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-17 15:08:03 +0000 |
commit | db7688f7b07d7574c75a03b538b1747e11640657 (patch) | |
tree | 43ad3496c2a8deeaf7081cb8df005ad03e4f5d45 /lib/timeout.rb | |
parent | 3c84bdd81210260d51e55b47af8fe3f96eaefd88 (diff) | |
download | ruby-db7688f7b07d7574c75a03b538b1747e11640657.tar.gz |
Fix typo in `Timeout` doc [ci skip]
Author: yuuji.yaginuma <yuuji.yaginuma@gmail.com>
https://github.com/ruby/ruby/pull/1760
[Fix GH-1760]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/timeout.rb')
-rw-r--r-- | lib/timeout.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/timeout.rb b/lib/timeout.rb index 9a0fc91156..057dd7fe68 100644 --- a/lib/timeout.rb +++ b/lib/timeout.rb @@ -15,7 +15,7 @@ # # Previous versions didn't use a module for namespacing, however # #timeout is provided for backwards compatibility. You -# should prefer Timeout#timeout instead. +# should prefer Timeout.timeout instead. # # == Copyright # @@ -23,7 +23,7 @@ # Copyright:: (C) 2000 Information-technology Promotion Agency, Japan module Timeout - # Raised by Timeout#timeout when the block times out. + # Raised by Timeout.timeout when the block times out. class Error < RuntimeError attr_reader :thread |