enum.c (first_i): Enumerator#first should consume only what is needed. a patch from Marc-Andre Lafortune. [ruby-core:23661]
enum.c (take_i): ditto.
enum.c (enum_first): call to_int once for an argument. a patch from Marc-Andre Lafortune.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
enum.c (first_i): Enumerator#first should consume only what is
needed. a patch from Marc-Andre Lafortune. [ruby-core:23661]
enum.c (take_i): ditto.
enum.c (enum_first): call to_int once for an argument. a patch
from Marc-Andre Lafortune.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e