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