Skip to content

Commit 184d4be

Browse files
nobumatzbot
authored andcommitted
[ruby/timeout] [DOC] document the private instance method
ruby/timeout@52e85fed75
1 parent 99d9012 commit 184d4be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/timeout.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ def self.timeout(sec, klass = nil, message = nil, &block) #:yield: +sec+
305305
end
306306
end
307307

308+
# See Timeout.timeout
308309
private def timeout(*args, &block)
309310
Timeout.timeout(*args, &block)
310311
end

0 commit comments

Comments
 (0)