method

index_in_parent

ruby latest stable - Class: REXML::Node
index_in_parent()
public

Returns the position that self holds in its parent’s array, indexed from 1.