method

index

v1_9_2_180 - Show latest stable - Class: REXML::Elements
index(element)
public

Returns the index of the supplied child (starting at 1), or -1 if the element is not a child

element

an Element child