class RubyXL::Text
Public Instance Methods
before_write_xml()
click to toggle source
# File lib/rubyXL/objects/text.rb, line 13 def before_write_xml self.xml_space = (value && ((value =~ /^\s/) || (value =~ /\s$/)) || value.include?("\n")) ? 'preserve' : nil true end
to_s()
click to toggle source
# File lib/rubyXL/objects/text.rb, line 18 def to_s value.to_s end