instance method
Gem::Commands::CleanupCommand#get_candidate_gems
get_candidate_gems
lib/rubygems/commands/cleanup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/commands/cleanup_command.rb, line 112
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
No documentation available
See also
#execute
#get_gems_to_cleanup
#clean_gems
#get_primary_gems
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0