/usr/lib/ruby/vendor_ruby/lumberjack/rack/unit_of_work.rb is in ruby-lumberjack 1.0.13-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 15 16 17 | # frozen_string_literals: true
module Lumberjack
module Rack
class UnitOfWork
def initialize(app)
@app = app
end
def call(env)
Lumberjack.unit_of_work do
@app.call(env)
end
end
end
end
end
|