diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-27 22:28:15 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-27 22:28:15 +0000 |
commit | 4aa9e80579bcbf8bcd4b2248a41e6ce13916bb1b (patch) | |
tree | ed6a82aa22b450d739ad1f37cf5870a07b79a29a /enumerator.c | |
parent | 4cb7e542e57510fed7a432654aee33faafce2c51 (diff) | |
download | ruby-4aa9e80579bcbf8bcd4b2248a41e6ce13916bb1b.tar.gz ruby-4aa9e80579bcbf8bcd4b2248a41e6ce13916bb1b.tar.xz ruby-4aa9e80579bcbf8bcd4b2248a41e6ce13916bb1b.zip |
* enumerator.c (next_i): typo fixed (reached at end -> reached an
end). pointed out by James Edward Gray II at LoneStar RubyConf.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c index e49000657..ec322ea01 100644 --- a/enumerator.c +++ b/enumerator.c @@ -581,7 +581,7 @@ next_i(VALUE curr, VALUE obj) VALUE result; result = rb_block_call(obj, id_each, 0, 0, next_ii, obj); - e->stop_exc = rb_exc_new2(rb_eStopIteration, "iteration reached at end"); + e->stop_exc = rb_exc_new2(rb_eStopIteration, "iteration reached an end"); rb_ivar_set(e->stop_exc, rb_intern("result"), result); return rb_fiber_yield(1, &nil); } |