Closed lutusu closed 7 years ago
book = Spreadsheet::Workbook.new book.write 'filename' The code above will cause a nil TypeError raised by trying to assign nil to index of focused sheet.
sample code and sample file please.
book = Spreadsheet::Workbook.new book.write 'filename' The code above will cause a nil TypeError raised by trying to assign nil to index of focused sheet.