method
highest_installed_gems
ruby latest stable - Class:
Gem::Commands::UpdateCommand
highest_installed_gems()public
No documentation available.
# 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