Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
REXML
/
Element
/
//opt/alt/ruby21/share/ri/2.1.0/system/REXML/Element/delete_attribute-i.ri
U:RDoc::AnyMethod[iI"delete_attribute:EFI"$REXML::Element#delete_attribute;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Removes an attribute;To:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"key;T; [o; ; [I";either an Attribute or a String. In either case, the ;TI"Hattribute is found by matching the attribute name to the argument, ;TI"Eand then removed. If no attribute is found, no action is taken.;To;;[I"Returns;T; [o; ; [I"Cthe attribute removed, or nil if this Element did not contain ;TI"a matching attribute;To:RDoc::Markup::Verbatim; [ I"e = Element.new('E') ;TI"He.add_attribute( 'name', 'Sean' ) #-> <E name='Sean'/> ;TI"[r = e.add_attribute( 'sur:name', 'Russell' ) #-> <E name='Sean' sur:name='Russell'/> ;TI"Oe.delete_attribute( 'name' ) #-> <E sur:name='Russell'/> ;TI";e.delete_attribute( r ) #-> <E/>;T:@format0: @fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below000[ I" (key);T@(FI"Element;TcRDoc::NormalClass00