| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/REXML/Element/ |
Upload File : |
U:RDoc::AnyMethod[iI"
add_text:EFI"REXML::Element#add_text;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"EA helper method to add a Text child. Actual Text instances can ;TI"Abe added with regular Parent methods, such as add() and <<();To:RDoc::Markup::List:
@type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" text;T; [o;
; [I";if a String, a new Text instance is created and added ;TI";to the parent. If Text, the object is added directly.;To;;[I"Returns;T; [o;
; [I"this Element;To:RDoc::Markup::Verbatim; [I",e = Element.new('a') #-> <e/>
;TI"2e.add_text 'foo' #-> <e>foo</e>
;TI"7e.add_text Text.new(' bar') #-> <e>foo bar</e>
;T:@format0o;
; [I"RNote that at the end of this example, the branch has <b>3</b> nodes; the 'e' ;TI"-element and <b>2</b> Text node children.;T:
@fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below000[ I"
( text );T@)FI"Element;TcRDoc::NormalClass00