Skip to content

Commit 31ee679

Browse files
committed
Fix return type of Process.detach to return Process::Waiter
1 parent d9000d2 commit 31ee679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/process.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ module Process
615615
#
616616
# thread.join.pid # => 313262
617617
#
618-
def self.detach: (Integer pid) -> Thread
618+
def self.detach: (Integer pid) -> Process::Waiter
619619

620620
# <!--
621621
# rdoc-file=process.c

0 commit comments

Comments
 (0)