From: "nobu (Nobuyoshi Nakada) via ruby-core" Date: 2023-01-01T05:25:28+00:00 Subject: [ruby-core:111558] [Ruby master Bug#19285] (docs.rlo) Split stdlib and core documents Issue #19285 has been updated by nobu (Nobuyoshi Nakada). Status changed from Open to Third Party's Issue It is about monkey patching Kernel and seems an internal document. I don't think it is useful for users. https://github.com/rubygems/rubygems/pull/6217 On the other hand, RubyGems has the document about extension of `Kernel#require` but it is ignored because it is inside a heredoc. ---------------------------------------- Bug #19285: (docs.rlo) Split stdlib and core documents https://bugs.ruby-lang.org/issues/19285#change-100919 * Author: zzak (Zak Scott) * Status: Third Party's Issue * Priority: Normal * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- It seems we merge all of the docs for stdlib and core into one for docs.ruby-lang.org, this creates weirdness like [Kernel](https://docs.ruby-lang.org/en/master/Kernel.html) which includes monkey patches for rubygems for example. > RubyGems adds the gem method to allow activation of specific gem versions and overrides the require method on Kernel to make gems appear as if they live on the $LOAD_PATH. See the documentation of these methods for further detail. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/