Project

General

Profile

Actions

Bug #4847

closed

Documentation Error for Hash#reject

Added by adgar (Michael Edgar) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2p188 (2011-03-28 revision 31204) [x86_64-darwin10.7.0]
Backport:
[ruby-core:36800]

Description

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.


Files

hash.doc.patch (408 Bytes) hash.doc.patch adgar (Michael Edgar), 06/07/2011 03:36 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0