From 3a3000f57761b5435f6b3ca66d685214a2863d71 Mon Sep 17 00:00:00 2001 From: Svyatoslav Kryukov Date: Sat, 3 Oct 2020 12:48:02 +0300 Subject: [PATCH] Fix traditional Ring example in Actor-model --- doc/ractor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ractor.md b/doc/ractor.md index 565ceda58d..b0a8fc1d20 100644 --- a/doc/ractor.md +++ b/doc/ractor.md @@ -664,7 +664,7 @@ r = Ractor.new do end RN.times{ - Ractor.new r do |next_r| + r = Ractor.new r do |next_r| next_r << Ractor.recv end }