| Class | Gem::Format |
| In: |
lib/rubygems/format.rb
|
| Parent: | Object |
Gem::Format knows the guts of the RubyGem .gem file format and provides the capability to read gem files
| file_entries | [RW] | |
| gem_path | [RW] | |
| spec | [RW] |
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 |