From 859abb7ffb60a43a3f3f4d1e309a20bdd4dedeb7 Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 17 Nov 2017 15:08:03 +0000 Subject: Fix typo in `Timeout` doc [ci skip] Author: yuuji.yaginuma 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 --- lib/timeout.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/timeout.rb') 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 -- cgit v1.2.3