diff options
Diffstat (limited to 'lib/axlsx/workbook/worksheet/cell.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/cell.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb index c978bde4..49afa485 100644 --- a/lib/axlsx/workbook/worksheet/cell.rb +++ b/lib/axlsx/workbook/worksheet/cell.rb @@ -80,6 +80,11 @@ module Axlsx defined?(@style) ? @style : 0 end + # Internal + def style_str + defined?(@style) ? @style.to_s : '0' + end + attr_accessor :raw_style # The index of the cellXfs item to be applied to this cell. |
