Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Resolver::RequirementList#next5
next5
lib/rubygems/resolver/requirement_list.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/resolver/requirement_list.rb, line 78
def next5
x = @exact[0,5]
x + @list[0,5 - x.size]
end
Returns the oldest five entries from the list.