method
get_candidate_gems
ruby latest stable - Class:
Gem::Commands::CleanupCommand
get_candidate_gems()public
No documentation available.
# File lib/rubygems/commands/cleanup_command.rb, line 107
def get_candidate_gems
@candidate_gems = unless options[:args].empty? then
options[:args].map do |gem_name|
Gem::Specification.find_all_by_name gem_name
end.flatten
else
Gem::Specification.to_a
end
end