Method: Axlsx::TwoCellAnchor#index

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

#indexInteger

The index of this anchor in the drawing

Returns:

  • (Integer)


54
55
56
# File 'lib/axlsx/drawing/two_cell_anchor.rb', line 54

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