Sha256: fe749bcb5ecddd02b1ff6c8096f876e9d3075f5fedd0d17939e5f30cf1bf231f
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
require 'epub/ocf/physical_container/zipruby' module EPUB class OCF class PhysicalContainer class Zipruby < self def save(path_name, content) if @archive @archive.add_or_replace_buffer path_name, content else open {|container| container.save(path_name, content)} end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
epub-maker-0.0.3 | lib/epub/maker/ocf/physical_container/zipruby.rb |