[ruby-cvs:55056] akr:r47907 (trunk): * enum.c (nmin_run): max(n) and max_by(n) returns an array in

akr at ruby-lang.org akr at ruby-lang.org
Tue Oct 14 01:30:07 JST 2014


akr	2014-10-14 01:30:07 +0900 (Tue, 14 Oct 2014)

  New Revision: 47907

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

  Log:
    * enum.c (nmin_run): max(n) and max_by(n) returns an array in
      descending order.
      [ruby-core:65452] Suggested by David Grayson.

  Modified files:
    trunk/ChangeLog
    trunk/enum.c
    trunk/test/ruby/test_enum.rb
    trunk/test/ruby/test_range.rb


More information about the ruby-cvs mailing list