Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::AvailableSet#pick_best!
pick_best!
lib/rubygems/available_set.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/available_set.rb, line 141
def pick_best!
return self if empty?
@set = [sorted.first]
@sorted = nil
self
end
No documentation available
See also
#match_platform!
#prefetch
#inject_into_list
#remove_installed!
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0