Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::NameTuple.to_basic
to_basic(list)
lib/rubygems/name_tuple.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/name_tuple.rb, line 32
def self.to_basic(list)
list.map(&:to_a)
end
Turn an array of NameTuple objects back into an array of
- name, version, platform
-
tuples.