Method: Axlsx::SheetFormatPr#to_xml_string

Defined in:
lib/axlsx/workbook/worksheet/sheet_format_pr.rb

#to_xml_string(str = '') ⇒ String

serializes this object to an xml string

Parameters:

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

    The string this objects serialization will be appended to

Returns:

  • (String)


50
51
52
# File 'lib/axlsx/workbook/worksheet/sheet_format_pr.rb', line 50

def to_xml_string(str='')
  str << "<sheetFormatPr #{serialized_attributes}/>"
end