Sha256: 9898c4273364082c7243f498d9621093901a499b8789af524ee767c04477f5ea

Contents?: true

Size: 234 Bytes

Versions: 4

Compression:

Stored size: 234 Bytes

Contents

module TarWriterHelpers
  def add_entry(entry)
    check_closed
    @io.write entry.header
    @io.write entry.read
    @io.write ?\0 while @io.pos % 512 > 0
    self
  end
end

Gem::Package::TarWriter.send :include, TarWriterHelpers

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nswtopo-3.0.1 lib/nswtopo/helpers/tar_writer.rb
nswtopo-3.0 lib/nswtopo/helpers/tar_writer.rb
nswtopo-2.0.0 lib/nswtopo/helpers/tar_writer.rb
nswtopo-2.0.0.pre.beta1 lib/nswtopo/helpers/tar_writer.rb