summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/cell.rb
diff options
context:
space:
mode:
authorWeston Ganger <[email protected]>2022-10-09 14:40:24 -0700
committerWeston Ganger <[email protected]>2022-10-09 14:40:24 -0700
commit03bad903f474fecccc7dacdc14ef17605d9e2aa2 (patch)
treee0a88df15105a6c2d5dfda5c9178a428b280e6bf /lib/axlsx/workbook/worksheet/cell.rb
parent99b25655ef0e5c953007ff81b5bc08058831da8c (diff)
downloadcaxlsx-03bad903f474fecccc7dacdc14ef17605d9e2aa2.tar.gz
caxlsx-03bad903f474fecccc7dacdc14ef17605d9e2aa2.zip
Improvements
Diffstat (limited to 'lib/axlsx/workbook/worksheet/cell.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/cell.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb
index 9ab93e61..125ca051 100644
--- a/lib/axlsx/workbook/worksheet/cell.rb
+++ b/lib/axlsx/workbook/worksheet/cell.rb
@@ -87,7 +87,6 @@ module Axlsx
# The index of the cellXfs item to be applied to this cell.
# @param [Hash] styles
# @see Axlsx::Styles
- require 'set' ### TODO: move to appropriate place
def add_style(style)
self.raw_style ||= {}
@@ -106,7 +105,6 @@ module Axlsx
wb = row.worksheet.workbook
- wb.styled_cells ||= Set.new
wb.styled_cells << self
end