summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-05-24 09:27:14 +0200
committerGitHub <[email protected]>2023-05-24 09:27:14 +0200
commit0fa9d7523bff020b92c2a548b493ad3fb05ebed9 (patch)
treebac1854dc09c98563b2356a290deb033e4ddd0c2 /lib
parentc1f922b3de788c1bb4e9b0dcf18f930897027446 (diff)
parent1b62a41707001631d75db805facb2476283c4e1e (diff)
downloadcaxlsx-0fa9d7523bff020b92c2a548b493ad3fb05ebed9.tar.gz
caxlsx-0fa9d7523bff020b92c2a548b493ad3fb05ebed9.zip
Merge pull request #253 from tagliala/chore/fix-line-end-concatenation-offenses
Fix Style/LineEndConcatenation offenses
Diffstat (limited to 'lib')
-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 3f225648..2983ed72 100644
--- a/lib/axlsx/package.rb
+++ b/lib/axlsx/package.rb
@@ -379,7 +379,7 @@ module Axlsx
# @private
def parse_serialize_options(options, secondary_options)
if secondary_options
- warn "[DEPRECATION] Axlsx::Package#serialize with 3 arguments is deprecated. " +
+ warn "[DEPRECATION] Axlsx::Package#serialize with 3 arguments is deprecated. " \
"Use keyword args instead e.g., package.serialize(output, confirm_valid: false, zip_command: 'zip')"
end
if options.is_a?(Hash)
@@ -391,7 +391,7 @@ module Axlsx
[options.fetch(:confirm_valid, false), options.fetch(:zip_command, nil)]
else
- warn "[DEPRECATION] Axlsx::Package#serialize with confirm_valid as a boolean is deprecated. " +
+ warn "[DEPRECATION] Axlsx::Package#serialize with confirm_valid as a boolean is deprecated. " \
"Use keyword args instead e.g., package.serialize(output, confirm_valid: false)"
parse_serialize_options((secondary_options || {}).merge(confirm_valid: options), nil)
end