[DOC] fixed pid shown in the doc comment on fork

This commit is contained in:
Kuba Suder authored and GitHub committed 2026-01-28 02:48:37 +00:00
1 parent 5eb17ea4aa
commit bea48adbca
1 file changed
+1 -1
Notes: git 2026-01-28 02:49:06 +00:00
+1 -1
View File
@@ -4233,7 +4233,7 @@ rb_proc__fork(VALUE _obj)
* puts "Before the fork: #{Process.pid}"
* fork do
* puts "In the child process: #{Process.pid}"
* end # => 382141
* end # => 420520
* puts "After the fork: #{Process.pid}"
*
* Output: