How to write into a temporary file (in the temp folder of a machine) from a Rails app, I am using Spreadsheet::Workbook.new and I want the contents to be written into a temp file
How to write into a temporary file (in the temp folder of a machine)
Share
You can use the Ruby’s
Tempfile:or with a block: