Documentation Error for Hash#reject
ruby 1.9.2p188 (2011-03-28 revision 31204) [x86_64-darwin10.7.0]
2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
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 over 4 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100