summaryrefslogtreecommitdiff
path: root/lib/timeout.rb
diff options
context:
space:
mode:
-rw-r--r--lib/timeout.rb2
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ module Timeout
end
def timeout(*args, &block)
- warn "#{caller_locations(1, 1)[0]}: Object##{__method__} is deprecated, use Timeout.timeout instead."
Timeout.timeout(*args, &block)
end