diff options
author | Marc-Andre Lafortune <github@marc-andre.ca> | 2020-12-16 09:57:35 -0500 |
---|---|---|
committer | Marc-Andre Lafortune <github@marc-andre.ca> | 2020-12-16 10:42:17 -0500 |
commit | d5929b39a9c7944de14c133fa3948b7b3a92e423 (patch) | |
tree | 9045844d76150c82cce5504019e7eff001c223b0 /ractor.rb | |
parent | 24f018972b958d6287c71a4682ea1dcc8d1fa16e (diff) | |
download | ruby-d5929b39a9c7944de14c133fa3948b7b3a92e423.tar.gz |
Make Ractor#receive_if private
Diffstat (limited to 'ractor.rb')
-rw-r--r-- | ractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |