summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2013-09-12 23:17:10 +0900
committerRandy Morgan <[email protected]>2013-09-13 00:08:40 +0900
commit281bd30c6062e3086a7d9917d221ef887975799c (patch)
tree31d94a7736438c4ed805f3ffcc0f10f2a488b7b6
parent28961931c7f1c9884f576a9e82cd8254939e1d30 (diff)
downloadcaxlsx-281bd30c6062e3086a7d9917d221ef887975799c.tar.gz
caxlsx-281bd30c6062e3086a7d9917d221ef887975799c.zip
initialize subtotal to remove warnings
-rw-r--r--lib/axlsx/workbook/worksheet/pivot_table.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/axlsx/workbook/worksheet/pivot_table.rb b/lib/axlsx/workbook/worksheet/pivot_table.rb
index 9e09f52c..63819da5 100644
--- a/lib/axlsx/workbook/worksheet/pivot_table.rb
+++ b/lib/axlsx/workbook/worksheet/pivot_table.rb
@@ -24,6 +24,7 @@ module Axlsx
@columns = []
@data = []
@pages = []
+ @subtotal = nil
parse_options options
yield self if block_given?
end