Class: RubyXL::RichText

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

Overview

Instance Attribute Summary

Attributes included from OOXMLObjectInstanceMethods

#local_namespaces

Instance Method Summary collapse

Methods included from OOXMLObjectInstanceMethods

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

Instance Method Details

#to_sObject



87
88
89
90
91
# File 'lib/rubyXL/objects/text.rb', line 87

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