diff --git a/.document b/.document new file mode 100644 index 0000000..5035202 --- /dev/null +++ b/.document @@ -0,0 +1,3 @@ +LICENSE.txt +README.md +lib/ diff --git a/lib/timeout.rb b/lib/timeout.rb index d8806e2..c67a748 100644 --- a/lib/timeout.rb +++ b/lib/timeout.rb @@ -23,18 +23,19 @@ # Copyright:: (C) 2000 Information-technology Promotion Agency, Japan module Timeout + # The version VERSION = "0.4.1" # Internal error raised to when a timeout is triggered. class ExitException < Exception - def exception(*) + def exception(*) # :nodoc: self end end # Raised by Timeout.timeout when the block times out. class Error < RuntimeError - def self.handle_timeout(message) + def self.handle_timeout(message) # :nodoc: exc = ExitException.new(message) begin