diff options
| author | Randy Morgan <[email protected]> | 2012-04-18 19:56:42 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-04-18 19:56:42 +0900 |
| commit | 247a5586d5900eabd0584af13319eb9d50b6e9ce (patch) | |
| tree | d1abaa066c9dd45e42b152a20bbd3a1bfdab1519 | |
| parent | 34353824cbcaae07cd5a0ce23fe815fd39111d72 (diff) | |
| download | caxlsx-247a5586d5900eabd0584af13319eb9d50b6e9ce.tar.gz caxlsx-247a5586d5900eabd0584af13319eb9d50b6e9ce.zip | |
use method not instance variable for determining if cell level style customizations have been made and the cell is now a text run.
| -rw-r--r-- | lib/axlsx/workbook/worksheet/cell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 [email protected]? && # Not nil [email protected]? && # Not empty [email protected]_with?('=') # Not a formula |
