Class: Rpub::Epub::Container
- Defined in:
- lib/rpub/epub/container.rb
Instance Attribute Summary
Attributes inherited from XmlFile
Instance Method Summary collapse
Methods inherited from XmlFile
Constructor Details
This class inherits a constructor from Rpub::XmlFile
Instance Method Details
#render ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/rpub/epub/container.rb', line 4 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 |