aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-17 12:14:21 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-17 12:14:21 +0000
commit68a6f2e9e0c6fc2ba09463c848dbbb4ece3e07a1 (patch)
treeff47d04d683438a00f3f406bcd3a4e89d9732072 /include
parenta22455199bf5b3ce68a6bded62a5c184373d1adb (diff)
downloadruby-68a6f2e9e0c6fc2ba09463c848dbbb4ece3e07a1.tar.gz
* array.c (rb_ary_max, rb_ary_min): Array#max and Array#min added.
[Feature #12172] * internal.h (OPTIMIZED_CMP): moved from enum.c so that array.c can use it. * test/ruby/test_array.rb (test_max, test_min): tests for Array#max and Array#min. * test/ruby/test_enum.rb (test_max, test_min): revised a bit to test Enumerable#max and #min explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions