summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet/pattern_fill.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/stylesheet/pattern_fill.rb')
-rw-r--r--lib/axlsx/stylesheet/pattern_fill.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/pattern_fill.rb b/lib/axlsx/stylesheet/pattern_fill.rb
index cabce9f5..9f92dc00 100644
--- a/lib/axlsx/stylesheet/pattern_fill.rb
+++ b/lib/axlsx/stylesheet/pattern_fill.rb
@@ -59,7 +59,7 @@ module Axlsx
# @param [String] str
# @return [String]
def to_xml_string(str = +'')
- str << (+'<patternFill patternType="' << patternType.to_s << '">')
+ str << '<patternFill patternType="' << patternType.to_s << '">'
if fgColor.is_a?(Color)
fgColor.to_xml_string str, "fgColor"
end