/usr/lib/ruby/vendor_ruby/bunny/system_timer.rb is in ruby-bunny 0.7.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # encoding: utf-8
module Bunny
# Used for ruby < 1.9.x
class SystemTimer < ::SystemTimer
def timeout(seconds, exception)
timeout_after(seconds) do
yield
end
end
end
end
|