[ruby-cvs:51052] nobu:r43908 (trunk): array.c, enum.c, range.c: rb_block_call_func compatible

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Nov 29 16:45:02 JST 2013


nobu	2013-11-29 16:45:00 +0900 (Fri, 29 Nov 2013)

  New Revision: 43908

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43908

  Log:
    array.c, enum.c, range.c: rb_block_call_func compatible
    
    * array.c (take_i), range.c (first_i): make rb_block_call_func
      compatible.
    
    * enum.c (collect_all, DEFINE_ENUMFUNCS): add blockarg.
    
    * enum.c ({min,max,minmax,chunk,slicebefore}_ii): ditto.

  Modified files:
    trunk/array.c
    trunk/enum.c
    trunk/range.c


More information about the ruby-cvs mailing list