TarReader reads tar files and allows iteration over their items

Class Methods

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

Instance Methods

Close the tar file

Iterates over files in the tarball yielding each entry

An alias for each

NOTE: Do not call rewind during each

Seeks through the tar file until it finds the entry with name and yields it. Rewinds the tar file to the beginning when the block terminates.