Class: REXML::Element
- Inherits:
-
Object
- Object
- REXML::Element
- Defined in:
- lib/sixarm_ruby_rexml/element.rb
Instance Method Summary collapse
-
#remove_attributes ⇒ Object
Remove all attributes from the element.
Instance Method Details
#remove_attributes ⇒ Object
Remove all attributes from the element.
9 10 11 12 |
# File 'lib/sixarm_ruby_rexml/element.rb', line 9 def remove_attributes self.attributes.each_attribute{|attribute| attribute.remove } self end |