Class Gem::OldFormat
In: lib/rubygems/old_format.rb
Parent: Object

The format class knows the guts of the RubyGem .gem file format and provides the capability to read gem files

Methods

Attributes

file_entries  [RW] 
gem_path  [RW] 
spec  [RW] 

Public Class methods

Reads the named gem file and returns a Format object, representing the data from the gem file

file_path:[String] Path to the gem file

Reads a gem from an io stream and returns a Format object, representing the data from the gem file

io:[IO] Stream from which to read the gem

Constructs an instance of a Format object, representing the gem‘s data structure.

gem:[String] The file name of the gem

[Validate]