mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
813b8d0a53
commit
859abb7ffb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue