Method: Spreadsheet::Excel::Writer::Workbook#initialize
- Defined in:
- lib/spreadsheet/excel/writer/workbook.rb
#initialize(*args) ⇒ Workbook
Returns a new instance of Workbook.
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/spreadsheet/excel/writer/workbook.rb', line 21 def initialize *args super @biff_version = 0x0600 @bof = 0x0809 @build_id = 3515 @build_year = 1996 @bof_types = { globals: 0x0005, visual_basic: 0x0006, worksheet: 0x0010, chart: 0x0020, macro_sheet: 0x0040, workspace: 0x0100 } @worksheets = {} @sst = {} @recordsize_limit = 8224 @fonts = {} @formats = {} @number_formats = {} end |