[ruby-cvs:61313] mame:r54152 (trunk): * array.c (rb_ary_max, rb_ary_min): implement Array#max and min with

mame at ruby-lang.org mame at ruby-lang.org
Thu Mar 17 21:37:20 JST 2016


mame	2016-03-17 21:37:20 +0900 (Thu, 17 Mar 2016)

  New Revision: 54152

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54152

  Log:
    * array.c (rb_ary_max, rb_ary_min): implement Array#max and min with
      arguments.  replace super call with rb_nmin_run.
    
    * enum.c (nmin_run): exported (as rb_nmin_run).
    
    * internal.h: added a prototype for rb_nmin_run.

  Modified files:
    trunk/ChangeLog
    trunk/array.c
    trunk/enum.c
    trunk/internal.h


More information about the ruby-cvs mailing list