このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 2.7.0 リファレンスマニュアル

instance method REXML::Parent#children

to_a -> [REXML::Child][permalink][rdoc]
children -> [REXML::Child]

子ノード列の配列を返します。