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
/
Attribute
/
//opt/alt/ruby27/share/ri/system/REXML/Attribute/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"REXML::Attribute::new;TT:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"Constructor. ;TI"EFIXME: The parser doesn't catch illegal characters in attributes;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" first;T; [o; ; [I"BEither: an Attribute, which this new attribute will become a ;TI"?clone of; or a String, which is the name of this attribute;To;;[I"second;T; [o; ; [I"FIf +first+ is an Attribute, then this may be an Element, or nil. ;TI"EIf nil, then the Element parent of this attribute is the parent ;TI"Cof the +first+ Attribute. If the first argument is a String, ;TI"Kthen this must also be a String, and is the content of the attribute. ;TI"EIf this is the content, it must be fully normalized (contain no ;TI"illegal characters).;To;;[I"parent;T; [o; ; [I"GIgnored unless +first+ is a String; otherwise, may be the Element ;TI"&parent of this attribute, or nil.;T@o:RDoc::Markup::Verbatim; [ I")Attribute.new( attribute_to_clone ) ;TI"9Attribute.new( attribute_to_clone, parent_element ) ;TI"+Attribute.new( "attr", "attr_value" ) ;TI":Attribute.new( "attr", "attr_value", parent_element );T:@format0: @fileI"lib/rexml/attribute.rb;T:0@omit_headings_from_table_of_contents_below000[ I"&( first, second=nil, parent=nil );T@4FI"Attribute;TcRDoc::NormalClass00