Skip to content

Commit 301ad4c

Browse files
committed
[DOC] Missing documents
1 parent b41f33d commit 301ad4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/timeout.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,19 @@
2323
# Copyright:: (C) 2000 Information-technology Promotion Agency, Japan
2424

2525
module Timeout
26+
# The version
2627
VERSION = "0.4.1"
2728

2829
# Internal error raised to when a timeout is triggered.
2930
class ExitException < Exception
30-
def exception(*)
31+
def exception(*) # :nodoc:
3132
self
3233
end
3334
end
3435

3536
# Raised by Timeout.timeout when the block times out.
3637
class Error < RuntimeError
37-
def self.handle_timeout(message)
38+
def self.handle_timeout(message) # :nodoc:
3839
exc = ExitException.new(message)
3940

4041
begin

0 commit comments

Comments
 (0)