Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > rexmlライブラリ > REXML::Elementクラス > attribute

instance method REXML::Element#attribute

attribute(name, namespace = nil)