| 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/PP/PPMethods/ |
Upload File : |
U:RDoc::AnyMethod[iI"seplist:EFI"PP::PPMethods#seplist;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Adds a separated list. ;TI"EThe list is separated by comma with breakable space, by default.;To:RDoc::Markup::BlankLine o;
; [I"7#seplist iterates the +list+ using +iter_method+. ;TI"<It yields each object to the block given for #seplist. ;TI"BThe procedure +separator_proc+ is called between each yields.;T@o;
; [I"KIf the iteration is zero times, +separator_proc+ is not called at all.;T@o;
; [I".If +separator_proc+ is nil or not given, ;TI"++lambda { comma_breakable }+ is used. ;TI"2If +iter_method+ is not given, :each is used.;T@o;
; [I"@For example, following 3 code fragments has similar effect.;T@o:RDoc::Markup::Verbatim; [I"%q.seplist([1,2,3]) {|v| xxx v }
;TI"
;TI"Jq.seplist([1,2,3], lambda { q.comma_breakable }, :each) {|v| xxx v }
;TI"
;TI"xxx 1
;TI"q.comma_breakable
;TI"xxx 2
;TI"q.comma_breakable
;TI"
xxx 3;T:@format0:
@fileI"lib/pp.rb;T:0@omit_headings_from_table_of_contents_below00I"element;F[ I"'(list, sep=nil, iter_method=:each);T@+FI"PPMethods;FcRDoc::NormalModule00