Sha256: 3db2b4487a1277cacd158d9094c5234c4c6d053711fdac96397a0242e044007d

Contents?: true

Size: 388 Bytes

Versions: 6

Compression:

Stored size: 388 Bytes

Contents

module Rpub
  class Epub
    class Container < XmlFile
      def render
        xml.instruct!
        xml.container :version => '1.0', :xmlns => 'urn:oasis:names:tc:opendocument:xmlns:container' do
          xml.rootfiles do
            xml.rootfile 'full-path' => 'OEBPS/content.opf', 'media-type' => 'application/oebps-package+xml'
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rpub-0.5.0 lib/rpub/epub/container.rb
rpub-0.4.0 lib/rpub/epub/container.rb
rpub-0.3.0 lib/rpub/epub/container.rb
rpub-0.2.1 lib/rpub/epub/container.rb
rpub-0.2.0 lib/rpub/epub/container.rb
rpub-0.1.0 lib/rpub/epub/container.rb