summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c
index 4cbe3fce96..5ce861d9bb 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -424,7 +424,7 @@ enumerator_next(VALUE obj)
e->fib = 0;
e->dst = Qnil;
e->no_next = Qfalse;
- rb_raise(rb_eStopIteration, "Enumerator#each reached at end");
+ rb_raise(rb_eStopIteration, "iteration reached at end");
}
return v;
}