diff options
| author | Geremia Taglialatela <[email protected]> | 2023-05-27 08:46:04 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-31 09:19:50 +0200 |
| commit | 70bdceaf29e69c18f62df113e1706e749b3f4f29 (patch) | |
| tree | 351e306a7d104e08321d91f8467b9ae6ead46326 /lib/axlsx/stylesheet | |
| parent | 317383fc66da3f04d438c86afb5b639b62145408 (diff) | |
| download | caxlsx-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.rb | 2 |
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 |
