Class: RubyXL::RichText
- Inherits:
-
OOXMLObject
- Object
- OOXMLObject
- RubyXL::RichText
- Defined in:
- lib/rubyXL/objects/text.rb
Overview
Instance Method Summary collapse
Methods included from OOXMLObjectClassMethods
#define_attribute, #define_child_node, #define_element_name, #obtain_class_variable, #parse, #set_countable
Methods included from OOXMLObjectInstanceMethods
#before_write_xml, #dup, #index_in_collection, #initialize, #write_xml
Instance Method Details
#to_s ⇒ Object
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 |