= private = protected
add( attribute )
Adds an attribute, overriding any existing attribute by the same name. Namespaces are significant.
attribute
An Attribute
# File lib/rexml/element.rb, line 1193 def add( attribute ) self[attribute.name] = attribute end