/usr/lib/ruby/1.8/extlib.rb is in libextlib-ruby1.8 0.9.13-2.
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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | require 'pathname'
# for Pathname /
require 'extlib/pathname'
require 'extlib/class.rb'
require 'extlib/object'
require 'extlib/object_space'
require 'extlib/array'
require 'extlib/string'
require 'extlib/symbol'
require 'extlib/hash'
require 'extlib/mash'
require 'extlib/virtual_file'
require 'extlib/logger'
require 'extlib/time'
require 'extlib/datetime'
require 'extlib/assertions'
require 'extlib/blank'
require 'extlib/boolean'
require 'extlib/byte_array'
require 'extlib/inflection'
require 'extlib/lazy_array'
require 'extlib/module'
require 'extlib/nil'
require 'extlib/numeric'
require 'extlib/blank'
require 'extlib/simple_set'
require 'extlib/struct'
require 'extlib/symbol'
Extlib.autoload('Hook', 'extlib/hook')
Extlib.autoload('Pooling', 'extlib/pooling')
module Extlib
def self.exiting= bool
if bool && Extlib.const_defined?('Pooling')
if Extlib::Pooling.scavenger?
Extlib::Pooling.scavenger.wakeup
end
end
@exiting = true
end
def self.exiting
return @exiting if defined?(@exiting)
@exiting = false
end
end
|