diff options
| author | Geremia Taglialatela <[email protected]> | 2023-06-15 09:30:29 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-06-15 09:30:29 +0200 |
| commit | 988c79b8d7602c67f7b761269383129609cf63a7 (patch) | |
| tree | 036d742dc625ea43028326d869a06e35ef9952b1 /lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb | |
| parent | e74c75b95d39fb51512387031e79f50e52a5874a (diff) | |
| download | caxlsx-988c79b8d7602c67f7b761269383129609cf63a7.tar.gz caxlsx-988c79b8d7602c67f7b761269383129609cf63a7.zip | |
Fix redundant self offenses
No performance gain, this can be seen as a cosmetic change to have
shorter lines
Diffstat (limited to 'lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb b/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb index f848d1be..85ef886e 100644 --- a/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb +++ b/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb @@ -208,7 +208,7 @@ module Axlsx str << '<cfRule ' serialized_attributes str str << '>' - str << '<formula>' << [*self.formula].join('</formula><formula>') << '</formula>' if @formula + str << '<formula>' << [*formula].join('</formula><formula>') << '</formula>' if @formula @color_scale.to_xml_string(str) if @color_scale && @type == :colorScale @data_bar.to_xml_string(str) if @data_bar && @type == :dataBar @icon_set.to_xml_string(str) if @icon_set && @type == :iconSet |
