summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/util/storage.rb
diff options
context:
space:
mode:
authorPaul Kmiec <[email protected]>2023-05-04 18:01:01 -0700
committerPaul Kmiec <[email protected]>2023-05-04 18:02:55 -0700
commitfef93ec8ae2caf8a3f8310dbf8101c103e5905e4 (patch)
treebaf17c508f1be8cb3fd38c5071a7de47ba3945bb /lib/axlsx/util/storage.rb
parent086e78d0d1f0896b6ca5f48b4873e861212f94aa (diff)
downloadcaxlsx-fef93ec8ae2caf8a3f8310dbf8101c103e5905e4.tar.gz
caxlsx-fef93ec8ae2caf8a3f8310dbf8101c103e5905e4.zip
Enable Style/FrozenStringLiteralComment and autocorrect
Diffstat (limited to 'lib/axlsx/util/storage.rb')
-rw-r--r--lib/axlsx/util/storage.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/axlsx/util/storage.rb b/lib/axlsx/util/storage.rb
index 4932c93c..2ce0d8f5 100644
--- a/lib/axlsx/util/storage.rb
+++ b/lib/axlsx/util/storage.rb
@@ -1,9 +1,11 @@
+# frozen_string_literal: true
+
module Axlsx
# The Storage class represents a storage object or stream in a compound file.
class Storage
# Packing for the Storage when pushing an array of items into a byte stream
# Name, name length, type, color, left sibling, right sibling, child, classid, state, created, modified, sector, size
- PACKING = "s32 s1 c2 l3 x16 x4 q2 l q".freeze
+ PACKING = "s32 s1 c2 l3 x16 x4 q2 l q"
# storage types
TYPES = {