Method: Axlsx::Workbook#initialize
- Defined in:
- lib/axlsx/workbook/workbook.rb
#initialize(options = {}) {|_self| ... } ⇒ Workbook
Creates a new Workbook
86 87 88 89 90 91 92 93 94 |
# File 'lib/axlsx/workbook/workbook.rb', line 86 def initialize(={}) @styles = Styles.new @worksheets = SimpleTypedList.new Worksheet @drawings = SimpleTypedList.new Drawing @charts = SimpleTypedList.new Chart @images = SimpleTypedList.new Pic self.date1904= [:date1904] unless [:date1904].nil? yield self if block_given? end |