Skip to content

Commit

Permalink
Fix typo in Timeout doc [ci skip]
Browse files Browse the repository at this point in the history
Author: yuuji.yaginuma <[email protected]>
ruby#1760
[Fix rubyGH-1760]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
znz committed Nov 17, 2017
1 parent 813b8d0 commit 859abb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/timeout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
#
# 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
#
# Copyright:: (C) 2000 Network Applied Communication Laboratory, Inc.
# 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

Expand Down

0 comments on commit 859abb7

Please sign in to comment.