This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.
from_file_by_path(file_path)
Reads the named gem file and returns a Format object, representing the data from the gem file
file_path
Path to the gem file
# File lib/rubygems/old_format.rb, line 37 def self.from_file_by_path(file_path) unless File.exist?(file_path) raise Gem::Exception, "Cannot load gem file [#{file_path}]" end File.open(file_path, 'rb') do |file| from_io(file, file_path) end end