Class: RubyXL::RichText

Inherits:
OOXMLObject show all
Defined in:
lib/rubyXL/objects/text.rb

Overview

Instance Method Summary collapse

Methods included from OOXMLObjectInstanceMethods

#==, #before_write_xml, included, #index_in_collection, #initialize, #write_xml

Instance Method Details

#to_sObject



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

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