From: zverok.offline@... Date: 2019-08-24T17:35:27+00:00 Subject: [ruby-core:94536] [Ruby master Misc#16126] Fix small docs inconsistencies Issue #16126 has been reported by zverok (Victor Shepelev). ---------------------------------------- Misc #16126: Fix small docs inconsistencies https://bugs.ruby-lang.org/issues/16126 * Author: zverok (Victor Shepelev) * Status: Open * Priority: Normal * Assignee: ---------------------------------------- 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: * `File::Constants` documented as `File::File::Constants`: https://github.com/ruby/rdoc/issues/741 * `ClosedQueueError` doesn't renders its parent right (probably RDoc bug also, will investigate). 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) -- https://bugs.ruby-lang.org/ Unsubscribe: