class RubyXL::Writer::RootRelsWriter
Public Instance Methods
filepath()
click to toggle source
# File lib/rubyXL/writer/root_rels_writer.rb, line 5 def filepath File.join('_rels', '.rels') end
write()
click to toggle source
# File lib/rubyXL/writer/root_rels_writer.rb, line 9 def write() contents = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/></Relationships>' contents end