# File lib/rubygems/source_index.rb, line 160 def add_spec(gem_spec) @gems[gem_spec.full_name] = gem_spec end