summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/dxf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/stylesheet/dxf.rb')
-rw-r--r--lib/axlsx/stylesheet/dxf.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/dxf.rb b/lib/axlsx/stylesheet/dxf.rb
index 516894df..8c32a75f 100644
--- a/lib/axlsx/stylesheet/dxf.rb
+++ b/lib/axlsx/stylesheet/dxf.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Axlsx
# The Dxf class defines an incremental formatting record for use in Styles. The recommended way to manage styles for your workbook is with Styles#add_style
# @see Styles#add_style
@@ -62,7 +64,7 @@ module Axlsx
# Serializes the object
# @param [String] str
# @return [String]
- def to_xml_string(str = '')
+ def to_xml_string(str = +'')
str << '<dxf>'
# Dxf elements have no attributes. All of the instance variables
# are child elements.