Method: Spreadsheet::Excel::Writer::Workbook#write_dsf
- Defined in:
- lib/spreadsheet/excel/writer/workbook.rb
#write_dsf(workbook, writer) ⇒ Object
255 256 257 258 259 260 261 |
# File 'lib/spreadsheet/excel/writer/workbook.rb', line 255 def write_dsf workbook, writer data = [ 0x00, # 0 = Only the BIFF8 “Workbook” stream is present # 1 = Additional BIFF5/BIFF7 “Book” stream is in the file ] write_op writer, 0x0161, data.pack('v') end |