class Docxer::Document

Attributes

content_types[RW]
document[RW]
properties[RW]
relationships[RW]

Public Class Methods

new() click to toggle source
# File lib/docxer/document.rb, line 6
def initialize
  
end

Public Instance Methods

render() click to toggle source
# File lib/docxer/document.rb, line 26
def render
  Zip::ZipOutputStream.write_buffer do |zip|
    document.render(zip)
    properties.render(zip)
    relationships.render(zip)
    content_types.render(zip)
  end
end