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

* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@24685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2009-08-27 22:28:15 +00:00
parent 84255e0485
commit c9775b0382
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Aug 28 07:25:25 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* enumerator.c (next_i): typo fixed (reached at end -> reached an
end). pointed out by James Edward Gray II at LoneStar RubyConf.
Thu Aug 27 18:31:07 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_method.c (rb_remove_method_id): exported.

View file

@ -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);
}