Class Gem::Package::TarReader
In: lib/rubygems/package/tar_reader.rb
Parent: Object

TarReader reads tar files and allows iteration over their items

Methods

close   each   each_entry   new   new   rewind  

Included Modules

Gem::Package

Classes and Modules

Class Gem::Package::TarReader::UnexpectedEOF

Public Class methods

Creates a new TarReader on io and yields it to the block, if given.

Creates a new tar file reader on io which needs to respond to pos, eof?, read, getc and pos=

Public Instance methods

Close the tar file

Iterates over files in the tarball yielding each entry

each_entry()

Alias for each

NOTE: Do not call rewind during each

[Validate]