You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RDoc needs a directive to not clobber an overridden method definition's documentation, but add to it. #1716
RDoc needs a directive to not clobber an overridden method definition's documentation, but add to it.
Use case: I wanted to find out how require worked.
Unfortunately, in RDoc-generated documentation, all I could find is information on how by requiring rubygems the behavior of Kernel.require changed, but nothing about its original behavior.
If RDoc had a directive to add, don't replace documentation, and it was used on the rubygems' monkeypatch of Kernel.require, the original documentation wouldn't have gotten lost.
I don't think that rdoc needs this. It's a consequence of ruby pulling in documentation of many projects and generating them as one. https://bugs.ruby-lang.org/issues/22204 tries to backport this, since it is already fixed on main
Activity
Earlopain commentedon Sep 21, 2026
I don't think that rdoc needs this. It's a consequence of ruby pulling in documentation of many projects and generating them as one. https://bugs.ruby-lang.org/issues/22204 tries to backport this, since it is already fixed on main