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