| Server IP : 162.214.74.102 / Your IP : 216.73.216.252 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 : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/REXML/Element/ |
Upload File : |
U:RDoc::AnyMethod[iI"each_element_with_text:EFI"*REXML::Element#each_element_with_text;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"CIterates through the children, yielding for each Element that ;TI"has a particular text set.;To:RDoc::Markup::List:
@type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" text;T; [o;
; [I"Dthe text to search for. If nil, or not supplied, will iterate ;TI"Gover all +Element+ children that contain at least one +Text+ node.;To;;[I"max;T; [o;
; [I"<(optional) causes this method to return after yielding ;TI")for this number of matching children;To;;[I" name;T; [o;
; [I";(optional) if supplied, this is an XPath that filters ;TI"the children to check.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I">doc = Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>'
;TI"# Yields b, c, d
;TI")doc.each_element_with_text {|e|p e}
;TI"# Yields b, c
;TI"-doc.each_element_with_text('b'){|e|p e}
;TI"# Yields b
;TI"0doc.each_element_with_text('b', 1){|e|p e}
;TI"# Yields d
;TI"4doc.each_element_with_text(nil, 0, 'd'){|e|p e};T:@format0:
@fileI"lib/rexml/element.rb;T:0@omit_headings_from_table_of_contents_below00I"Element;F[ I""( text=nil, max=0, name=nil );T@5FI"Element;TcRDoc::NormalClass00