Project

General

Profile

Actions

Bug #16813

closed

Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core

Added by SampsonCrowley (Sampson Crowley) almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
starting at 2.6.1
[ruby-core:98038]

Description

https://ruby-doc.org/core-2.7.1/Method.html#method-i-5B-5D

meth[args, ...] → obj has the correct explanation, but contains the example for #call instead of #[]

https://ruby-doc.org/core-2.7.1/Method.html#method-i-3E-3E

meth >> g → a_proc has the correct example, but contains the explanation for #<< instead of #>>


Files

Screenshot from 2020-04-23 15-45-25.png (43.6 KB) Screenshot from 2020-04-23 15-45-25.png Image of the issue SampsonCrowley (Sampson Crowley), 04/23/2020 09:45 PM
Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 4 years ago

  • Status changed from Open to Closed

Applied in changeset git|ac2106acc276854ae2ac8cc5fa6859aa28362f2f.


[DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]

Actions #2

Updated by nobu (Nobuyoshi Nakada) almost 4 years ago

  • Backport changed from 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN to 2.5: DONTNEED, 2.6: REQUIRED, 2.7: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) almost 4 years ago

  • Backport changed from 2.5: DONTNEED, 2.6: REQUIRED, 2.7: REQUIRED to 2.5: DONTNEED, 2.6: REQUIRED, 2.7: DONE

merge revision(s) ac2106acc276854ae2ac8cc5fa6859aa28362f2f,cf90df22c74da2f87421749e8d065cfbd3812afd into ruby_2_7 at 16aef5da5622971ae83dcc281b03a53c5f622ca3.

Updated by usa (Usaku NAKAMURA) about 3 years ago

  • Backport changed from 2.5: DONTNEED, 2.6: REQUIRED, 2.7: DONE to 2.5: DONTNEED, 2.6: DONE, 2.7: DONE

ruby_2_6 r67904 merged revision(s) ac2106ac,cf90df22.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0