From d5929b39a9c7944de14c133fa3948b7b3a92e423 Mon Sep 17 00:00:00 2001 From: Marc-Andre Lafortune Date: Wed, 16 Dec 2020 09:57:35 -0500 Subject: [PATCH] Make Ractor#receive_if private --- ractor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ractor.rb b/ractor.rb index b5b2677a2b..2196a93352 100644 --- a/ractor.rb +++ b/ractor.rb @@ -139,7 +139,7 @@ class Ractor Primitive.ractor_receive_if b end - def receive_if &b + private def receive_if &b Primitive.ractor_receive_if b end