Module: Docx::Builder::Decoder
- Defined in:
- lib/docx/builder/decoder.rb
Overview
Unzips a docx file into a series of XML files
Class Method Summary collapse
Class Method Details
.to_xml(path) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/docx/builder/decoder.rb', line 7 def self.to_xml(path) Zip::File.open(path) do |file| @zipfile = file end @zipfile end |