Project

General

Profile

Actions

Bug #11424

closed

Documentation bug: Module: Enumerable, detect

Bug #11424: Documentation bug: Module: Enumerable, detect

Added by latency (Reed Mangino) about 10 years ago. Updated about 10 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:70283]

Description

http://ruby-doc.org/core-2.2.2/Enumerable.html#method-i-detect

In the second line of the example code find() is called instead of detect(). Both lines should call detect().

Updated by marcandre (Marc-Andre Lafortune) about 10 years ago Actions #1 [ruby-core:70303]

  • Status changed from Open to Rejected

find and detect are aliases.
They share their documentation.

Actions

Also available in: PDF Atom