Actions
Bug #11424
closedDocumentation bug: Module: Enumerable, detect
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) over 8 years ago
- Status changed from Open to Rejected
find
and detect
are aliases.
They share their documentation.
Actions
Like0
Like0