Ruby 2.1.0 リファレンスマニュアル > ライブラリ一覧 > rexml/documentライブラリ > REXML::Elementクラス > comments

instance method REXML::Element#comments

comments -> [REXML::Comments][permalink][rdoc]

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

返される配列は freeze されます。