Method: Axlsx::CellStyle#to_xml_string

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

#to_xml_string(str = '') ⇒ String

Serializes the object

Parameters:

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

Returns:

  • (String)


66
67
68
69
70
# File 'lib/axlsx/stylesheet/cell_style.rb', line 66

def to_xml_string(str = '')
  str << '<cellStyle '
  serialized_attributes str
  str << '/>'
end