End of Life Ruby 3.1 has reached end of life and gets no more fixes. 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.1.3/lib/rubygems/name_tuple.rb, line 33
def self.to_basic(list)
list.map {|t| t.to_a }
end
Turn an array of NameTuple objects back into an array of
- name, version, platform
-
tuples.