method

new

v2_4_6 - Show latest stable - Class: REXML::Child
new( parent = nil )
public

Constructor. Any inheritors of this class should call super to make sure this method is called.

parent

if supplied, the parent of this child will be set to the supplied value, and self will be added to the parent