summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/package.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-06-15 09:30:29 +0200
committerGeremia Taglialatela <[email protected]>2023-06-15 09:30:29 +0200
commit988c79b8d7602c67f7b761269383129609cf63a7 (patch)
tree036d742dc625ea43028326d869a06e35ef9952b1 /lib/axlsx/package.rb
parente74c75b95d39fb51512387031e79f50e52a5874a (diff)
downloadcaxlsx-988c79b8d7602c67f7b761269383129609cf63a7.tar.gz
caxlsx-988c79b8d7602c67f7b761269383129609cf63a7.zip
Fix redundant self offenses
No performance gain, this can be seen as a cosmetic change to have shorter lines
Diffstat (limited to 'lib/axlsx/package.rb')
-rw-r--r--lib/axlsx/package.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/package.rb b/lib/axlsx/package.rb
index 4f793d41..34add29b 100644
--- a/lib/axlsx/package.rb
+++ b/lib/axlsx/package.rb
@@ -106,7 +106,7 @@ module Axlsx
end
confirm_valid, zip_command = parse_serialize_options(options, secondary_options)
- return false unless !confirm_valid || self.validate.empty?
+ return false unless !confirm_valid || validate.empty?
zip_provider = if zip_command
ZipCommand.new(zip_command)
@@ -130,7 +130,7 @@ module Axlsx
workbook.apply_styles
end
- return false unless !confirm_valid || self.validate.empty?
+ return false unless !confirm_valid || validate.empty?
Relationship.initialize_ids_cache
stream = BufferedZipOutputStream.write_buffer do |zip|