Method: Axlsx::Cell#to_xml_string

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

#to_xml_string(r_index, c_index, str = '') ⇒ String

Serializes the cell

Parameters:

  • r_index (Integer)

    The row index for the cell

  • c_index (Integer)

    The cell index in the row.

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

    The string index the cell content will be appended to. Defaults to empty string.

Returns:

  • (String)

    xml text for the cell



340
341
342
# File 'lib/axlsx/workbook/worksheet/cell.rb', line 340

def to_xml_string(r_index, c_index, str = '')
  CellSerializer.to_xml_string r_index, c_index, self, str
end