1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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 2021-12-15 07:15:23 +09: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