From: marcandre-ruby-core@... Date: 2020-10-26T05:10:00+00:00 Subject: [ruby-core:100551] [Ruby master Feature#17286] `Ractor.new` should accept `move: true` Issue #17286 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Feature #17286: `Ractor.new` should accept `move: true` https://bugs.ruby-lang.org/issues/17286 * Author: marcandre (Marc-Andre Lafortune) * Status: Open * Priority: Normal ---------------------------------------- Another surprise when writing my backport is that `Ractor.new` does not accept `move:` keyword argument. ```ruby Ractor.new(val, move: true) { |data| ... } # equivalent to Ractor.new { data = Ractor.receive; ... }.tap { |r| r.send(val, move: true) } ``` -- https://bugs.ruby-lang.org/ Unsubscribe: