summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-06-04 10:52:14 +0900
committerRandy Morgan <[email protected]>2012-06-04 10:52:14 +0900
commitab6df461cecabff3b668306f4a7df142264d3091 (patch)
treed932fdc34e0d3bb3d09e7b2a32142d0417dbc823 /lib
parent376d60eebeb0a48579862004d8a70b00fb39ee32 (diff)
downloadcaxlsx-ab6df461cecabff3b668306f4a7df142264d3091.tar.gz
caxlsx-ab6df461cecabff3b668306f4a7df142264d3091.zip
ooops! start_with needs a ? after it.
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 e3e153e0..4453529b 100644
--- a/lib/axlsx/workbook/worksheet/cell.rb
+++ b/lib/axlsx/workbook/worksheet/cell.rb
@@ -318,7 +318,7 @@ module Axlsx
end
def is_formula?
- @type == :string && @value.start_with('=')
+ @type == :string && @value.start_with?('=')
end
private