%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/PP/PPMethods/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/PP/PPMethods/seplist-i.ri

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::BlankLineo;
;	[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

Zerion Mini Shell 1.0