Method: Axlsx::TwoCellAnchor#index

Defined in:
lib/axlsx/drawing/two_cell_anchor.rb

#indexInteger

The index of this anchor in the drawing

Returns:

  • (Integer)


77
78
79
# File 'lib/axlsx/drawing/two_cell_anchor.rb', line 77

def index
  @drawing.anchors.index(self)
end