summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-10 10:42:14 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-10 10:42:14 +0000
commitb93bb68a3a6f3963552bbe602b88976fe8e4b0f9 (patch)
tree84fba997c4d2f35568441d8504058b1735536ef2 /eval.c
parente8b41deead821d254377dcf8233c56e8cc42eeaf (diff)
* 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
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 2 insertions, 0 deletions
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