summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-27 08:46:04 +0200
committerGeremia Taglialatela <[email protected]>2023-05-31 09:19:50 +0200
commit70bdceaf29e69c18f62df113e1706e749b3f4f29 (patch)
tree351e306a7d104e08321d91f8467b9ae6ead46326 /lib/axlsx/stylesheet
parent317383fc66da3f04d438c86afb5b639b62145408 (diff)
downloadcaxlsx-70bdceaf29e69c18f62df113e1706e749b3f4f29.tar.gz
caxlsx-70bdceaf29e69c18f62df113e1706e749b3f4f29.zip
Fix string concatenation offenses in production code
Diffstat (limited to 'lib/axlsx/stylesheet')
-rw-r--r--lib/axlsx/stylesheet/color.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/color.rb b/lib/axlsx/stylesheet/color.rb
index 24fe3bc3..0c40a073 100644
--- a/lib/axlsx/stylesheet/color.rb
+++ b/lib/axlsx/stylesheet/color.rb
@@ -73,7 +73,7 @@ module Axlsx
# @param [String] str
# @return [String]
def to_xml_string(str = +'', tag_name = 'color')
- serialized_tag('' + tag_name + '', str)
+ serialized_tag(tag_name.to_s, str)
end
end
end