End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Package::Old#contents
contents
lib/rubygems/package/old.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/package/old.rb, line 35
def contents
verify
return @contents if @contents
@gem.with_read_io do |io|
read_until_dashes io # spec
header = file_list io
@contents = header.map {|file| file["path"] }
end
end
A list of file names contained in this gem