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
/
ruby27
/
share
/
ri
/
system
/
REXML
/
Attributes
/
//opt/alt/ruby27/share/ri/system/REXML/Attributes/delete-i.ri
U:RDoc::AnyMethod[iI"delete:ETI"REXML::Attributes#delete;TF:privateo: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"attribute;T; [o; ; [I"Feither a String, which is the name of the attribute to remove -- ;TI"Cnamespaces are significant here -- or the attribute to remove.;To;;[I"Returns;T; [o; ; [I"the owning element;To:RDoc::Markup::Verbatim; [ I"Edoc = Document.new "<a y:foo='0' x:foo='1' foo='3' z:foo='4'/>" ;TI"Pdoc.root.attributes.delete 'foo' #-> <a y:foo='0' x:foo='1' z:foo='4'/>" ;TI"Fdoc.root.attributes.delete 'x:foo' #-> <a y:foo='0' z:foo='4'/>" ;TI"7attr = doc.root.attributes.get_attribute('y:foo') ;TI";doc.root.attributes.delete attr #-> <a z:foo='4'/>";T:@format0: @fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below000[ I"( attribute );T@&TI"Attributes;TcRDoc::NormalClass00