This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
new()
public
Initialise the data we need to make searches later.
# File lib/rubygems/gem_path_searcher.rb, line 13
def initialize
# We want a record of all the installed gemspecs, in the order we wish to
# examine them.
# TODO: remove this stupid method
@gemspecs = init_gemspecs
# Map gem spec to glob of full require_path directories. Preparing this
# information may speed up searches later.
@lib_dirs = {}
@gemspecs.each do |spec|
@lib_dirs[spec.object_id] = lib_dirs_for spec
end
end