summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/workbook.rb
diff options
context:
space:
mode:
authorWeston Ganger <[email protected]>2022-10-12 23:02:49 -0700
committerWeston Ganger <[email protected]>2022-10-12 23:10:08 -0700
commit28d59a1dba55a9d98ceed26ac3bed6267cf18481 (patch)
tree5b05b8926dd301f7bf0e714df848a5a209653348 /lib/axlsx/workbook/workbook.rb
parent56f0977033d87c29fbcb5a20f0bd61d8fe3fb1ec (diff)
downloadcaxlsx-28d59a1dba55a9d98ceed26ac3bed6267cf18481.tar.gz
caxlsx-28d59a1dba55a9d98ceed26ac3bed6267cf18481.zip
Resolve all TODOs
Diffstat (limited to 'lib/axlsx/workbook/workbook.rb')
-rw-r--r--lib/axlsx/workbook/workbook.rb5
1 files changed, 3 insertions, 2 deletions
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`