ruby-changes:48712
From: kazu <ko1@a...>
Date: Sat, 18 Nov 2017 00:08:09 +0900 (JST)
Subject: [ruby-changes:48712] kazu:r60827 (trunk): Fix typo in `Timeout` doc [ci skip]
kazu 2017-11-18 00:08:03 +0900 (Sat, 18 Nov 2017) New Revision: 60827 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60827 Log: Fix typo in `Timeout` doc [ci skip] Author: yuuji.yaginuma <yuuji.yaginuma@g...> https://github.com/ruby/ruby/pull/1760 [Fix GH-1760] Modified files: trunk/lib/timeout.rb Index: lib/timeout.rb =================================================================== --- lib/timeout.rb (revision 60826) +++ lib/timeout.rb (revision 60827) @@ -15,7 +15,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/timeout.rb#L15 # # 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 @@ https://github.com/ruby/ruby/blob/trunk/lib/timeout.rb#L23 # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/