summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/package.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-05 17:34:58 +0200
committerGeremia Taglialatela <[email protected]>2023-04-06 09:55:27 +0200
commitb5d7a7a1917adb12e3ea04abe261a37f8aff7f56 (patch)
tree8e99004348e47712008b9af75da3808721e8a659 /lib/axlsx/package.rb
parent9b246ec6395d49f09ab85ce0a2c024bf8d086d0c (diff)
downloadcaxlsx-b5d7a7a1917adb12e3ea04abe261a37f8aff7f56.tar.gz
caxlsx-b5d7a7a1917adb12e3ea04abe261a37f8aff7f56.zip
Fix Layout/EmptyLines offenses
``` rubocop --only Layout/EmptyLines -a ```
Diffstat (limited to 'lib/axlsx/package.rb')
-rw-r--r--lib/axlsx/package.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/axlsx/package.rb b/lib/axlsx/package.rb
index acd55586..e866444b 100644
--- a/lib/axlsx/package.rb
+++ b/lib/axlsx/package.rb
@@ -35,8 +35,6 @@ module Axlsx
workbook.use_autowidth = v
end
-
-
# Shortcut to determine if the workbook is configured to use shared strings
# @see Workbook#use_shared_strings
def use_shared_strings
@@ -120,7 +118,6 @@ module Axlsx
Relationship.clear_ids_cache
end
-
# Serialize your workbook to a StringIO instance
# @param [Boolean] confirm_valid Validate the package prior to serialization.
# @return [StringIO|Boolean] False if confirm_valid and validation errors exist. rewound string IO if not.
@@ -225,7 +222,6 @@ module Axlsx
parts << {:entry => "xl/#{drawing.pn}", :doc => drawing, :schema => DRAWING_XSD}
end
-
workbook.tables.each do |table|
parts << {:entry => "xl/#{table.pn}", :doc => table, :schema => SML_XSD}
end