lib/write_xlsx/package/app.rb in write_xlsx-0.0.4 vs lib/write_xlsx/package/app.rb in write_xlsx-0.51.0
- old
+ new
@@ -65,15 +65,12 @@
#
# Write the <Properties> element.
#
def write_properties
schema = 'http://schemas.openxmlformats.org/officeDocument/2006/'
- xmlns = "#{schema}extended-properties"
- xmlns_vt = "#{schema}docPropsVTypes"
-
attributes = [
- 'xmlns', xmlns,
- 'xmlns:vt', xmlns_vt
+ 'xmlns', "#{schema}extended-properties",
+ 'xmlns:vt', "#{schema}docPropsVTypes"
]
@writer.start_tag('Properties', attributes)
end