Project

General

Profile

Actions

Bug #9819

closed

changed documentation for enumerable methods find and detect

Added by JumpHigh777 (Rachel Logie) almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Assignee:
Target version:
-
ruby -v:
2.1.1
[ruby-core:62475]

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

patch.txt (736 Bytes) patch.txt JumpHigh777 (Rachel Logie), 05/09/2014 04:33 AM

Updated by zzak (zzak _) almost 10 years ago

  • Status changed from Open to Closed

Fixed by r46095

Updated by usa (Usaku NAKAMURA) over 9 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) over 9 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) over 9 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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0