Actions
Bug #9819
closedchanged documentation for enumerable methods find and detect
Description
The docs right now under the enumerable method "find" contains only 2 examples using detect, and no examples with find. The usual pattern throughout the rest of the docs is that when two methods are aliases, such as detect and find, then both methods will show an example using each alias. So I just replaced one of the detect examples with find. This will be more clear for those people going to look up enumerable's find method and are confused that it only has examples of detect.
Files
Updated by usa (Usaku NAKAMURA) almost 10 years ago
- Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED
Updated by nagachika (Tomoyuki Chikanaga) almost 10 years ago
- Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: REQUIRED, 2.1: DONE
Backported into ruby_2_1
branch at r46676.
Updated by usa (Usaku NAKAMURA) almost 10 years ago
- Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1: DONE
backported into ruby_2_0_0
at r46744.
Actions
Like0
Like0Like0Like0Like0