method
get_candidate_gems
v2_4_6 -
Show latest stable
- Class:
Gem::Commands::CleanupCommand
get_candidate_gems()public
No documentation available.
# File lib/rubygems/commands/cleanup_command.rb, line 100
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