extract_files()
public
Reads the file index and extracts each file into the gem directory.
Ensures that files can’t be installed outside the gem directory.
# File lib/rubygems/installer.rb, line 810
def extract_files
@package.extract_files gem_dir
end