/usr/share/backgroundrb/lib/backgroundrb/bdrb_client_helper.rb is in libbackgroundrb-ruby1.8 1.1-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 | module BackgrounDRb
module ClientHelper
def gen_worker_key(worker_name,worker_key = nil)
return worker_name.to_sym if worker_key.nil?
return "#{worker_name}_#{worker_key}".to_sym
end
end
end
|