class REXML::Element

Public Instance Methods

remove_attributes() click to toggle source

Remove all attributes from the element.

@return the element.

@see Document#remove_attributes

# File lib/sixarm_ruby_rexml/element.rb, line 9
def remove_attributes
  self.attributes.each_attribute{|attribute| attribute.remove }
  self
end