Project

General

Profile

Actions

Misc #16126

closed

Fix small docs inconsistencies

Added by zverok (Victor Shepelev) about 5 years ago. Updated about 5 years ago.

Status:
Closed
Assignee:
-
[ruby-core:94536]

Description

The patch with some small-ish fixes:

  • Enumerator refers to #enum_for/#to_enum under Kernel, while in fact they are documented under Object;
  • Kernel#warn has outdated call sequence;
  • ClosedQueueError is not mentioned in errors hierarchy;
  • then is referred to as yield_self, obscuring the usage.

Not fixed yet, though should be:

For the next, step, I plan to provide a PRs with core and stdlib docs that are just missing, outdated or confusing.


Files

docs-bugs.patch (2.99 KB) docs-bugs.patch zverok (Victor Shepelev), 08/24/2019 05:35 PM

Updated by jeremyevans0 (Jeremy Evans) about 5 years ago

Thanks for the patch, I will merge it shortly.

Actions #2

Updated by jeremyevans (Jeremy Evans) about 5 years ago

  • Status changed from Open to Closed

Applied in changeset git|04735c48ab44c97cbfd5a5cd37f9a1696e2f5a2b.


Minor documentation fixes [ci skip]

From zverok (Victor Shepelev)

Fixes [Misc #16126]

Actions

Also available in: Atom PDF

Like0
Like0Like0