method

get_candidate_gems

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