summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorJurriaan Pruis <[email protected]>2012-04-01 15:48:08 +0200
committerJurriaan Pruis <[email protected]>2012-04-01 15:48:08 +0200
commit5a567dd9fad7cb4739c92d2dda3faba8d50225b6 (patch)
treec68a41c3fd25a8955a1343cb96e7314d19a2a9ee /lib
parent225edfc837e99167072fdf15e4ee3a5af9cfe96c (diff)
downloadcaxlsx-5a567dd9fad7cb4739c92d2dda3faba8d50225b6.tar.gz
caxlsx-5a567dd9fad7cb4739c92d2dda3faba8d50225b6.zip
Fixed formula handling
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/workbook/worksheet/cell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb
index 13140786..cb8dd61b 100644
--- a/lib/axlsx/workbook/worksheet/cell.rb
+++ b/lib/axlsx/workbook/worksheet/cell.rb
@@ -315,7 +315,7 @@ module Axlsx
when :string
#parse formula
if @value.start_with?('=')
- str << 't="str"><f>' << value.to_s.gsub('=', '') << '</f>'
+ str << 't="str"><f>' << @value.to_s.gsub('=', '') << '</f>'
else
#parse shared
if @ssti