From b93bb68a3a6f3963552bbe602b88976fe8e4b0f9 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 10 Apr 2008 10:42:14 +0000 Subject: * 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 --- eval.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 4f5f29b0cc..f3a0806654 100644 --- a/eval.c +++ b/eval.c @@ -984,6 +984,8 @@ loop_i() * break if !line or line =~ /^qQ/ * # ... * end + * + * StopIteration raised in the block breaks the loop. */ static VALUE -- cgit v1.2.3