Sha256: b839b84087f1165717f9af886e9221ffc7cefd886e9826207eaf1c3643bfae2d

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

require 'epub/ocf/physical_container/zipruby'

module EPUB
  class OCF
    class PhysicalContainer
      class Zipruby < self
        def write(path_name, content, mtime: nil)
          if @archive
            @archive.add_or_replace_buffer path_name, content
          else
            open {|container| container.write(path_name, content)}
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
epub-maker-0.1.8 lib/epub/maker/ocf/physical_container/zipruby.rb