Method: REXML::Attribute#remove

Defined in:
lib/extensions/rexml/rexml/attribute.rb,
lib/extensions/rhoxml/rexml/attribute.rb

#removeObject

Removes this Attribute from the tree, and returns true if successfull

This method is usually not called directly.



162
163
164
# File 'lib/extensions/rexml/rexml/attribute.rb', line 162

def remove
  @element.attributes.delete self.name unless @element.nil?
end