This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
collect_specs(gems = gem_file_list)
public
Collect specifications from .gem files from the gem directory.
# File lib/rubygems/indexer.rb, line 379
def collect_specs(gems = gem_file_list)
Gem::Deprecate.skip_during do
index = Gem::SourceIndex.new
map_gems_to_specs(gems).each do |spec|
index.add_spec spec, spec.original_name
end
index
end
end