░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/share/ri/3.1.0/system/StopIteration
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: result-i.ri
U:RDoc::AnyMethod[iI"result:ETI"StopIteration#result;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I".Returns the return value of the iterator.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"o = Object.new ;TI"def o.each ;TI" yield 1 ;TI" yield 2 ;TI" yield 3 ;TI" 100 ;TI" end ;TI" ;TI"e = o.to_enum ;TI" ;TI")puts e.next #=> 1 ;TI")puts e.next #=> 2 ;TI")puts e.next #=> 3 ;TI" ;TI"begin ;TI" e.next ;TI" rescue StopIteration => ex ;TI"+ puts ex.result #=> 100 ;TI"end;T:@format0: @fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"result -> value ;T0[ I"();T@$FI"StopIteration;TcRDoc::NormalClass00
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 cdesc-StopIteration.ri
RI
788 B
2025-10-01 20:48
EDIT
📄 result-i.ri
RI
820 B
2025-10-01 20:48
EDIT