method

highest_installed_gems

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: UpdateCommand
highest_installed_gems() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/update_command.rb, line 128
  def highest_installed_gems # :nodoc:
    hig = {} # highest installed gems

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

    hig
  end
Register or log in to add new notes.