class Gem::Commands::CleanupCommand
def get_candidate_gems
def get_candidate_gems @candidate_gems = if options[:args].empty? Gem::Specification.to_a else options[:args].flat_map do |gem_name| Gem::Specification.find_all_by_name gem_name end end end