From 358de36ce6a85cfd85c4b7223e71375dcd074a1a Mon Sep 17 00:00:00 2001 From: Ryan Winograd Date: Fri, 28 Aug 2020 18:20:47 -0500 Subject: Update doc to reflect preferred new public interface --- lib/axlsx/package.rb | 6 +++--- 1 file 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() -- cgit v1.2.3