Method: Axlsx::Cell#index

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

#indexInteger

Returns The index of the cell in the containing row.

Returns:

  • (Integer)

    The index of the cell in the containing row.



291
292
293
# File 'lib/axlsx/workbook/worksheet/cell.rb', line 291

def index
  @row.index(self)
end