Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

Gem::Source#load_compact_index_specs

load_compact_index_specs(type)

Builds the name tuple list for type from the compact index versions file. Returns nil when the source does not provide a usable compact index, so the caller can fall back to the Marshal spec indexes.