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

Make Ractor#receive_if private

This commit is contained in:
Marc-Andre Lafortune 2020-12-16 09:57:35 -05:00
parent 24f018972b
commit d5929b39a9

View file

@ -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