summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/data_bar.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/workbook/worksheet/data_bar.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/data_bar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/data_bar.rb b/lib/axlsx/workbook/worksheet/data_bar.rb
index 482bd029..db224b5e 100644
--- a/lib/axlsx/workbook/worksheet/data_bar.rb
+++ b/lib/axlsx/workbook/worksheet/data_bar.rb
@@ -38,7 +38,7 @@ module Axlsx
serializable_attributes :min_length, :max_length, :show_value
# instance values that must be serialized as their own elements - e.g. not attributes.
- CHILD_ELEMENTS = [:value_objects, :color]
+ CHILD_ELEMENTS = [:value_objects, :color].freeze
# minLength attribute
# The minimum length of the data bar, as a percentage of the cell width.