method

add

v1_8_6_287 - Show latest stable - Class: REXML::Attributes
add( attribute )
public

Adds an attribute, overriding any existing attribute by the same name. Namespaces are significant.

attribute:An <a href="/ruby/REXML/Attribute">Attribute</a>