Project

General

Profile

Misc #16126

Fix small docs inconsistencies

Added by zverok (Victor Shepelev) 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
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

Also available in: Atom PDF