Sha256: eaac69574825f537d57bc0647a45916e7807cabc28dd024316810f7943fe8ef8
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
require 'tmpdir' require 'epub/ocf/physical_container' [ [:ArchiveZip, 'archive_zip'], [:Zipruby, 'zipruby'] ].each do |(class_name, feature_name)| if EPUB::OCF::PhysicalContainer.const_defined? class_name require "epub/maker/ocf/physical_container/#{feature_name}" end end module EPUB class OCF class PhysicalContainer class << self def save(container_path, path_name, content) open(container_path) {|container| container.save(path_name, content) } 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.rb |