summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/stylesheet
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-23 00:43:50 +0200
committerGeremia Taglialatela <[email protected]>2023-05-31 09:43:02 +0200
commitb7155f6956c24ca71929c3376a5658e0df425061 (patch)
treeab804a24fce766cb76b0d00caf71a3b3ab1e213c /lib/axlsx/stylesheet
parent8918a00eb0ff7b40240be5c94c4c245c95579acb (diff)
downloadcaxlsx-b7155f6956c24ca71929c3376a5658e0df425061.tar.gz
caxlsx-b7155f6956c24ca71929c3376a5658e0df425061.zip
Fix Style/MutableConstant offenses
Diffstat (limited to 'lib/axlsx/stylesheet')
-rw-r--r--lib/axlsx/stylesheet/dxf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/stylesheet/dxf.rb b/lib/axlsx/stylesheet/dxf.rb
index 8c32a75f..2c10443a 100644
--- a/lib/axlsx/stylesheet/dxf.rb
+++ b/lib/axlsx/stylesheet/dxf.rb
@@ -8,7 +8,7 @@ module Axlsx
# The order in which the child elements is put in the XML seems to
# be important for Excel
- CHILD_ELEMENTS = [:font, :numFmt, :fill, :alignment, :border, :protection]
+ CHILD_ELEMENTS = [:font, :numFmt, :fill, :alignment, :border, :protection].freeze
# does not support extList (ExtensionList)
# The cell alignment for this style