file_list(io)
Reads the file list section from the old-format gem io
# File lib/rubygems/package/old.rb, line 97 def file_list io # :nodoc: header = String.new read_until_dashes io do |line| header << line end Gem::SafeYAML.safe_load header end