Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > rexmlライブラリ > REXML::Attributesクラス > each_attribute
each_attribute {|attribute| ... }