lib/rubygems/package/old.rb
##
# A list of file names contained in this gem
A list of file names contained in this gem
A list of file names contained in this gem
def contents
    verify
    return @contents if @contents
    @gem.with_read_io do |io|
      read_until_dashes io 
      header = file_list io
      @contents = header.map {|file| file['path'] }
    end
  end
def contents verify return @contents if @contents @gem . with_read_io do | io | read_until_dashes io header = file_list io @contents = header . map { | file | file [ 'path' ] } end end
A list of file names contained in this gem
A list of file names contained in this gem
# spec