Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::SpecificationRecord#latest_specs
latest_specs(prerelease)
lib/rubygems/specification_record.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/specification_record.rb, line 236
def latest_specs(prerelease)
Gem::Specification._latest_specs stubs, prerelease
end
Return the latest specs in the record, optionally including prerelease specs if prerelease is true.