このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
parent? -> bool
true を返します。
[SEE_ALSO] REXML::Node#parent