summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/package.rb
diff options
context:
space:
mode:
authorRyan Winograd <[email protected]>2020-08-28 18:20:47 -0500
committerRyan Winograd <[email protected]>2020-08-28 18:21:23 -0500
commit358de36ce6a85cfd85c4b7223e71375dcd074a1a (patch)
tree2a304b07113903736a9c5da61c1628c646f15a8e /lib/axlsx/package.rb
parent2f2264dd98595cc71b8fd2df15490de8de57265a (diff)
downloadcaxlsx-358de36ce6a85cfd85c4b7223e71375dcd074a1a.tar.gz
caxlsx-358de36ce6a85cfd85c4b7223e71375dcd074a1a.zip
Update doc to reflect preferred new public interface
Diffstat (limited to 'lib/axlsx/package.rb')
-rw-r--r--lib/axlsx/package.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/package.rb b/lib/axlsx/package.rb
index d9636536..6b55091b 100644
--- a/lib/axlsx/package.rb
+++ b/lib/axlsx/package.rb
@@ -93,9 +93,9 @@ module Axlsx
# p.serialize("example.xlsx")
#
# # Serialize to a file, using a system zip binary
- # p.serialize("example.xlsx", false, zip_command: "zip")
- # p.serialize("example.xlsx", false, zip_command: "/path/to/zip")
- # p.serialize("example.xlsx", false, zip_command: "zip -1")
+ # p.serialize("example.xlsx", zip_command: "zip", confirm_valid: false)
+ # p.serialize("example.xlsx", zip_command: "/path/to/zip")
+ # p.serialize("example.xlsx", zip_command: "zip -1")
#
# # Serialize to a stream
# s = p.to_stream()