lib/rubyXL/objects/relationships.rb in rubyXL-2.4.1 vs lib/rubyXL/objects/relationships.rb in rubyXL-2.4.2
- old
+ new
@@ -83,9 +83,10 @@
def before_write_xml
self.relationships = []
relationships << document_relationship('xl/workbook.xml', 'officeDocument')
+ relationships << metadata_relationship('docProps/thumbnail.jpeg', 'thumbnail') unless @workbook.thumbnail.empty?
relationships << metadata_relationship('docProps/core.xml', 'core-properties')
relationships << document_relationship('docProps/app.xml', 'extended-properties')
true
end