1

I used gem RubyXL to export something to a workbook, and I do not want to use workbook.write() to create a file, but want to save the workbook to mysql DB as binary.

how can i convert the RubyXL workbook to binary?

xiaoniumumu
  • 21
  • 1
  • 6

1 Answers1

1

I find a solution just now it is

workbook.stream.read

Termininja
  • 6,620
  • 12
  • 48
  • 49
xiaoniumumu
  • 21
  • 1
  • 6