[DOC] Fix docs rendering for Process._fork [ci skip]

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
This commit is contained in:
Matheus Richard 2021-12-14 19:15:02 -03:00 committed by GitHub
parent aa7c4c37d7
commit b563f12297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2025-05-14 12:41:59 +00:00
Merged: https://github.com/ruby/ruby/pull/5270

Merged-By: nobu <nobu@ruby-lang.org>

View File

@ -4349,8 +4349,8 @@ rb_call_proc__fork(void)
* Process._fork -> integer
*
* An internal API for fork. Do not call this method directly.
* Currently, this is called via +Kernel.#fork+, +Process.fork+, and
* +popen+ with +"-"+.
* Currently, this is called via Kernel#fork, Process.fork, and
* IO.popen with <tt>"-"</tt>.
*
* This method is not for casual code but for application monitoring
* libraries. You can add custom code before and after fork events