You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p=Axlsx::Package.new# Do a lot of fun with worksheets#....#....# Time to persist but not in filesystem, maybe db?begintmpfile=Tempfile.new("temporary.xlsx")p.serializetmpfile.pathsave(File.read(tmpfile.path)ensureFile.unlink(tmpfile.path)end
Last begin ... ensure ... end block is a big messy. It would be nice it was able to write something like:
save(p.serialize)
Thanks
The text was updated successfully, but these errors were encountered:
Here is how I'm going to use it:
Last begin ... ensure ... end block is a big messy. It would be nice it was able to write something like:
Thanks
The text was updated successfully, but these errors were encountered: