From 28d59a1dba55a9d98ceed26ac3bed6267cf18481 Mon Sep 17 00:00:00 2001 From: Weston Ganger Date: Wed, 12 Oct 2022 23:02:49 -0700 Subject: Resolve all TODOs --- lib/axlsx/workbook/workbook.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/axlsx/workbook/workbook.rb') diff --git a/lib/axlsx/workbook/workbook.rb b/lib/axlsx/workbook/workbook.rb index ef56debd..938d4aee 100644 --- a/lib/axlsx/workbook/workbook.rb +++ b/lib/axlsx/workbook/workbook.rb @@ -188,12 +188,13 @@ require 'axlsx/workbook/worksheet/selection.rb' end # An array that holds all cells with styles + # @return Set def styled_cells @styled_cells ||= Set.new end - # Checks if styles are indexed to make it work for pre 0.1.5 version - # users that still explicitly call @workbook.apply_styles + # Are the styles added with workbook.add_styles applied yet + # @return Boolean attr_accessor :styles_applied # A helper to apply styles that were added using `worksheet.add_style` -- cgit v1.2.3