method

get_primary_gems

get_primary_gems()
public

No documentation available.

# File lib/rubygems/commands/cleanup_command.rb, line 129
  def get_primary_gems
    @primary_gems = {}

    Gem::Specification.each do |spec|
      if @primary_gems[spec.name].nil? or
         @primary_gems[spec.name].version < spec.version then
        @primary_gems[spec.name] = spec
      end
    end
  end