Project

General

Profile

« Previous | Next » 

Revision c74466e1

Added by yugui (Yuki Sonoda) almost 16 years ago

merges r23622 from trunk into ruby_1_9_1.

  • enum.c (first_i): Enumerator#first should consume only what is
    needed. a patch from Marc-Andre Lafortune. [ruby-core:23661]

  • enum.c (enum_first): call to_int once for an argument. based on
    a patch from Marc-Andre Lafortune.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e