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

instance method REXML::Element#add_attribute

add_attribute(key, value = nil)

[TODO]

class REXML::Element