Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::QueryUtils#make_entry
make_entry(entry_tuples, platforms, platform_ruby_abis)
lib/rubygems/query_utils.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/query_utils.rb, line 308
def make_entry(entry_tuples, platforms, platform_ruby_abis)
detail_tuple = entry_tuples.first
name_tuples, specs = entry_tuples.flatten.partition do |item|
Gem::NameTuple === item
end
entry = [name_tuples.first.name]
entry_versions(entry, name_tuples, platforms, platform_ruby_abis, specs)
entry_details(entry, detail_tuple, specs, platforms, platform_ruby_abis)
entry.join
end
No documentation available
See also
#installed?
#output_query_results
#gem_name?
#output_versions
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0