Method: Axlsx::TableStyles#to_xml_string

Defined in:
lib/axlsx/stylesheet/table_styles.rb

#to_xml_string(str = +'')) ⇒ String

Serializes the object

Parameters:

  • str (String) (defaults to: +''))

Returns:

  • (String)


43
44
45
46
47
48
49
# File 'lib/axlsx/stylesheet/table_styles.rb', line 43

def to_xml_string(str = +'')
  str << '<tableStyles '
  serialized_attributes str, { count: size }
  str << '>'
  each { |table_style| table_style.to_xml_string(str) }
  str << '</tableStyles>'
end