class RubyXL::CellValue
Public Instance Methods
before_write_xml()
click to toggle source
# File lib/rubyXL/objects/sheet_data.rb, line 15 def before_write_xml self.xml_space = (value.is_a?(String) && ((value =~ /\A\s/) || (value =~ /\s\Z/) || value.include?("\n"))) ? 'preserve' : nil true end