⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.25
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
PP
/
PPMethods
/
View File Name :
seplist-i.ri
U:RDoc::AnyMethod[iI"seplist:ETI"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;T[ I"'(list, sep=nil, iter_method=:each);T@+FI"PPMethods;TcRDoc::NormalModule00