Method: RubyXL::RichText#to_s

Defined in:
lib/rubyXL/objects/text.rb

#to_sObject



79
80
81
82
83
# File 'lib/rubyXL/objects/text.rb', line 79

def to_s
  str = t.to_s
  r && r.each { |rtr| str << rtr.to_s if rtr }
  str
end