lib/axlsx/workbook/workbook.rb in axlsx-1.0.0 vs lib/axlsx/workbook/workbook.rb in axlsx-1.0.1
- old
+ new
@@ -76,9 +76,10 @@
@styles = Styles.new
@worksheets = SimpleTypedList.new Worksheet
@drawings = SimpleTypedList.new Drawing
@charts = SimpleTypedList.new Chart
self.date1904= options[:date1904] unless options[:date1904].nil?
+ yield self if block_given?
end
def date1904=(v) Axlsx::validate_boolean v; @@date1904 = v; end
def date1904() @@date1904; end