method

document

ruby latest stable - Class: REXML::Child
document()
public

Returns

the document this child belongs to, or nil if this child

belongs to no document