ruby - axlsx serialize spreadsheet to string -


For testing purposes, I want to serialize an axlsx spreadsheet into a string. This indicates that it is possible for "output file or string IO" but I do not get documentation or a code sample that tells how to output stringIo. How is this done?

From

: serializing a stream s = package .to_stream () File.open ('example_streamed.xlsx', 'w') {| F | f.write (s.read)}

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -