1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (rb_f_loop): Mention StopIteration in the document.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2008-04-10 10:42:14 +00:00
parent e8b41deead
commit b93bb68a3a
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Thu Apr 10 19:41:00 2008 Akinori MUSHA <knu@iDaemons.org>
* eval.c (rb_f_loop): Mention StopIteration in the document.
Thu Apr 10 19:23:55 2008 Akinori MUSHA <knu@iDaemons.org>
* array.c (rb_ary_pop_m, rb_ary_shift_m): Update documents for

2
eval.c
View file

@ -984,6 +984,8 @@ loop_i()
* break if !line or line =~ /^qQ/
* # ...
* end
*
* StopIteration raised in the block breaks the loop.
*/
static VALUE