From f526784e1ee21f6d2b5d130673f5c3d96761f2bb Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 14 Feb 2014 15:45:11 +0000 Subject: * enum.c: Enumerable#{min,min_by,max,max_by} extended to take an optional argument. (nmin_cmp): New function. (nmin_block_cmp): Ditto (nmin_filter): Ditto. (nmin_i): Ditto. (nmin_run): Ditto. (enum_min): Call nmin_run if the optional argument is given. (nmin_max): Ditto. (nmin_min_by): Ditto. (nmin_max_by): Ditto. * range.c: Range#{min,max} extended to take an optional argument. (range_min): Call range_first if the optional argument is given. (range_max): Call rb_call_super if the optional argument is given. [ruby-core:57111] [Feature #8887] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 0c70db07bc..f9b4162135 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,13 @@ with all sufficient information, see the ChangeLog file. === Core classes updates (outstanding ones only) +* Enumerable + * Extended methods: + * min + * min_by + * max + * max_by + === Core classes compatibility issues (excluding feature bug fixes) === Stdlib updates (outstanding ones only) -- cgit v1.2.3