[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:19533

From: matz ruby-lang.org
Date: Sat, 19 May 2007 01:10:47 +0900 (JST)
Subject: [ruby-cvs:19533] Ruby:r12297: * enum.c (enum_inject): it is now can work without block. you

matz	2007-05-19 01:10:46 +0900 (Sat, 19 May 2007)

  New Revision: 12297

  Modified files:
    trunk/ChangeLog
    trunk/enum.c

  Log:
    * enum.c (enum_inject): it is now can work without block.  you
      have to specify two argument method name as the first argument.
    
    * enum.c (Init_Enumerable): reduce is new alias to inject.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12297&r2=12296
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enum.c?r1=12297&r2=12296


[前][次][番号順一覧][スレッド一覧][生データ]