Class: RubyXL::CellValue
- Inherits:
-
OOXMLObject
- Object
- OOXMLObject
- RubyXL::CellValue
- Defined in:
- lib/rubyXL/objects/sheet_data.rb
Overview
Instance Attribute Summary
Attributes included from OOXMLObjectInstanceMethods
Instance Method Summary collapse
Methods included from OOXMLObjectInstanceMethods
#==, included, #index_in_collection, #init_child_nodes, #initialize, #write_xml
Instance Method Details
#before_write_xml ⇒ Object
28 29 30 31 32 33 |
# File 'lib/rubyXL/objects/sheet_data.rb', line 28 def before_write_xml return false if (value.nil? || value == '') self.value = RubyXL::Text.escape_bad_xml_chars(value) preserve_whitespace true end |