Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::AvailableSet#match_platform!
match_platform!
lib/rubygems/available_set.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/available_set.rb, line 76
def match_platform!
@set.reject! {|t| !Gem::Platform.match_spec?(t.spec) }
@sorted = nil
self
end
No documentation available
See also
#inject_into_list
#pick_best!
#find_all
#prefetch
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0