Documentation Error for Hash#reject
|ruby -v:||ruby 1.9.2p188 (2011-03-28 revision 31204) [x86_64-darwin10.7.0]||Backport:|
The documentation for Hash#reject fails to note that, when called without a block, an enumerator is returned.
A small patch correcting this is attached.
- hash.c (rb_hash_reject): add documentation that Hash#reject without block returns enumerator. patched by Michael Edgar [Bug #4847]
#3 Updated by Yui NARUSE almost 4 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100