module TarWriterHelpers
Public Instance Methods
add_entry(entry)
click to toggle source
# File lib/nswtopo/helpers/tar_writer.rb, line 2 def add_entry(entry) check_closed @io.write entry.header @io.write entry.read @io.write ?\0 while @io.pos % 512 > 0 self end