lib/write_xlsx/package/table.rb in write_xlsx-1.10.0 vs lib/write_xlsx/package/table.rb in write_xlsx-1.10.1

- old
+ new

@@ -246,17 +246,17 @@ .gsub(/#/, "'#") .gsub(/\[/, "'[") .gsub(/\]/, "']") subtotals = { - :average => 101, - :countNums => 102, - :count => 103, - :max => 104, - :min => 105, - :stdDev => 107, - :sum => 109, - :var => 110 + average: 101, + countNums: 102, + count: 103, + max: 104, + min: 105, + stdDev: 107, + sum: 109, + var: 110 } unless (func_num = subtotals[function.to_sym]) raise "Unsupported function '#{function}' in add_table()" end