instance method
Gem::Package::Old#contents
contents
lib/rubygems/package/old.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/package/old.rb, line 36
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