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

Class for reading entries out of a tar file

Methods

bytes_read   close   closed?   directory?   eof?   file?   full_name   getc   new   pos   read   rewind  

Attributes

header  [R]  Header for this tar entry

Public Class methods

Creates a new tar entry for header that will be read from io

Public Instance methods

Number of bytes read out of the tar entry

Closes the tar entry

Is the tar entry closed?

Is this tar entry a directory?

Are we at the end of the tar entry?

Is this tar entry a file?

Full name of the tar entry

Read one byte from the tar entry

The position in the tar entry

Reads len bytes from the tar file entry, or the rest of the entry if nil

Rewinds to the beginning of the tar file entry

[Validate]