ruby-changes:20190
From: naruse <ko1@a...>
Date: Mon, 27 Jun 2011 00:45:53 +0900 (JST)
Subject: [ruby-changes:20190] naruse:r32238 (trunk): * hash.c (rb_hash_reject): add documentation that Hash#reject
naruse 2011-06-27 00:45:47 +0900 (Mon, 27 Jun 2011) New Revision: 32238 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32238 Log: * hash.c (rb_hash_reject): add documentation that Hash#reject without block returns enumerator. patched by Michael Edgar [Bug #4847] [ruby-core:36800] Modified files: trunk/ChangeLog trunk/hash.c Index: ChangeLog =================================================================== --- ChangeLog (revision 32237) +++ ChangeLog (revision 32238) @@ -1,3 +1,9 @@ +Mon Jun 27 00:40:47 2011 NARUSE, Yui <naruse@r...> + + * hash.c (rb_hash_reject): add documentation that Hash#reject + without block returns enumerator. + patched by Michael Edgar [Bug #4847] [ruby-core:36800] + Sun Jun 26 23:49:21 2011 Tadayoshi Funaba <tadf@d...> * test/date/test_switch_hitter.rb: added a test. Index: hash.c =================================================================== --- hash.c (revision 32237) +++ hash.c (revision 32238) @@ -944,6 +944,7 @@ /* * call-seq: * hsh.reject {| key, value | block } -> a_hash + * hsh.reject -> an_enumerator * * Same as <code>Hash#delete_if</code>, but works on (and returns) a * copy of the <i>hsh</i>. Equivalent to -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/