summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/content_type
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/content_type
parent086e78d0d1f0896b6ca5f48b4873e861212f94aa (diff)
downloadcaxlsx-fef93ec8ae2caf8a3f8310dbf8101c103e5905e4.tar.gz
caxlsx-fef93ec8ae2caf8a3f8310dbf8101c103e5905e4.zip
Enable Style/FrozenStringLiteralComment and autocorrect
Diffstat (limited to 'lib/axlsx/content_type')
-rw-r--r--lib/axlsx/content_type/abstract_content_type.rb2
-rw-r--r--lib/axlsx/content_type/content_type.rb2
-rw-r--r--lib/axlsx/content_type/default.rb2
-rw-r--r--lib/axlsx/content_type/override.rb2
4 files changed, 8 insertions, 0 deletions
diff --git a/lib/axlsx/content_type/abstract_content_type.rb b/lib/axlsx/content_type/abstract_content_type.rb
index 45bd4853..dfb7dd91 100644
--- a/lib/axlsx/content_type/abstract_content_type.rb
+++ b/lib/axlsx/content_type/abstract_content_type.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Axlsx
# This class extracts the common parts from Default and Override
class AbstractContentType
diff --git a/lib/axlsx/content_type/content_type.rb b/lib/axlsx/content_type/content_type.rb
index 48b5b6a9..ead50713 100644
--- a/lib/axlsx/content_type/content_type.rb
+++ b/lib/axlsx/content_type/content_type.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Axlsx
require 'axlsx/content_type/abstract_content_type.rb'
require 'axlsx/content_type/default.rb'
diff --git a/lib/axlsx/content_type/default.rb b/lib/axlsx/content_type/default.rb
index d5901456..ad215070 100644
--- a/lib/axlsx/content_type/default.rb
+++ b/lib/axlsx/content_type/default.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Axlsx
# An default content part. These parts are automatically created by for you based on the content of your package.
class Default < AbstractContentType
diff --git a/lib/axlsx/content_type/override.rb b/lib/axlsx/content_type/override.rb
index 5fb98d4c..fd98a803 100644
--- a/lib/axlsx/content_type/override.rb
+++ b/lib/axlsx/content_type/override.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Axlsx
# An override content part. These parts are automatically created by for you based on the content of your package.
class Override < AbstractContentType