method
highest_installed_gems
v2_6_3 -
Show latest stable
- Class:
Gem::Commands::UpdateCommand
highest_installed_gems()public
No documentation available.
# File lib/rubygems/commands/update_command.rb, line 137
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
hig[spec.name] = spec
end
end
hig
end