ruby-changes:45798
From: naruse <ko1@a...>
Date: Sun, 12 Mar 2017 02:56:06 +0900 (JST)
Subject: [ruby-changes:45798] naruse:r57871 (ruby_2_4): merge revision(s) 57421:
naruse 2017-03-12 02:56:02 +0900 (Sun, 12 Mar 2017) New Revision: 57871 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57871 Log: merge revision(s) 57421: [DOC] Add empty example to enum.all? and any? [ci skip] Modified directories: branches/ruby_2_4/ Modified files: branches/ruby_2_4/enum.c branches/ruby_2_4/version.h Index: ruby_2_4/enum.c =================================================================== --- ruby_2_4/enum.c (revision 57870) +++ ruby_2_4/enum.c (revision 57871) @@ -1166,6 +1166,7 @@ DEFINE_ENUMFUNCS(all) https://github.com/ruby/ruby/blob/trunk/ruby_2_4/enum.c#L1166 * %w[ant bear cat].all? { |word| word.length >= 3 } #=> true * %w[ant bear cat].all? { |word| word.length >= 4 } #=> false * [nil, true, 99].all? #=> false + * [].all? #=> true * */ @@ -1200,6 +1201,7 @@ DEFINE_ENUMFUNCS(any) https://github.com/ruby/ruby/blob/trunk/ruby_2_4/enum.c#L1201 * %w[ant bear cat].any? { |word| word.length >= 3 } #=> true * %w[ant bear cat].any? { |word| word.length >= 4 } #=> true * [nil, true, 99].any? #=> true + * [].any? #=> false * */ Index: ruby_2_4/version.h =================================================================== --- ruby_2_4/version.h (revision 57870) +++ ruby_2_4/version.h (revision 57871) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/version.h#L1 #define RUBY_VERSION "2.4.0" #define RUBY_RELEASE_DATE "2017-03-12" -#define RUBY_PATCHLEVEL 36 +#define RUBY_PATCHLEVEL 37 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 Property changes on: ruby_2_4 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r57421 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/