new(io) Class Public methods Creates a new RestrictedStream wrapping io
write(data) Instance Public methods Writes data onto the IO, raising a FileOverflow exception if the number of bytes will be more than limit
new(io, limit) Class Public methods Wraps io and allows up to limit bytes to be written
seek(name) Instance Public methods 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.
rewind() Instance Public methods NOTE: Do not call rewind during each
each_entry() Instance Public methods Alias for: each
each() Instance Public methods Iterates over files in the tarball yielding each entry each_entry
close() Instance Public methods Close the tar file
new(io) Class Public methods Creates a new tar file reader on io which needs to respond to pos, eof?, read, getc and pos=
new(io) Class Public methods Creates a new TarReader on io and yields it to the block, if given.
Page 2011 of 2275