From 247a5586d5900eabd0584af13319eb9d50b6e9ce Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Wed, 18 Apr 2012 19:56:42 +0900 Subject: use method not instance variable for determining if cell level style customizations have been made and the cell is now a text run. --- lib/axlsx/workbook/worksheet/cell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb index 80f938d4..fe95e529 100644 --- a/lib/axlsx/workbook/worksheet/cell.rb +++ b/lib/axlsx/workbook/worksheet/cell.rb @@ -67,7 +67,7 @@ module Axlsx # Indicates if the cell is good for shared string table def plain_string? @type == :string && # String typed - !@is_text_run && # No inline styles + !is_text_run? && # No inline styles !@value.nil? && # Not nil !@value.empty? && # Not empty !@value.start_with?('=') # Not a formula -- cgit v1.2.3