File: C:/Ruby27-x64/share/ri/2.7.0/system/REXML/Element/add_namespace-i.ri
U:RDoc::AnyMethod[iI"add_namespace:ETI"!REXML::Element#add_namespace;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"&Adds a namespace to this element.;To:RDoc::Markup::List:
@type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"prefix;T; [o;
; [I"=the prefix string, or the namespace URI if +uri+ is not ;TI"
supplied;To;;[I"uri;T; [o;
; [I"Bthe namespace URI. May be nil, in which +prefix+ is used as ;TI"the URI;To;
; [I"Evaluates to: this Element;To:RDoc::Markup::Verbatim; [
I"a = Element.new("a")
;TI"*a.add_namespace("xmlns:foo", "bar" )
;TI"Ba.add_namespace("foo", "bar") # shorthand for previous line
;TI" a.add_namespace("twiddle")
;TI"6puts a #-> <a xmlns:foo='bar' xmlns='twiddle'/>;T:@format0:
@fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below000[ I"( prefix, uri=nil );T@*FI"Element;TcRDoc::NormalClass00