Project

General

Profile

Actions

Misc #16126

closed

Fix small docs inconsistencies

Added by zverok (Victor Shepelev) over 5 years ago. Updated over 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
Actions

Also available in: Atom PDF

Like0
Like0Like0