We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e2a7446 + c501767 commit cb735e5Copy full SHA for cb735e5
1 file changed
test/pathname/test_ractor.rb
@@ -9,6 +9,10 @@ def setup
9
10
def test_ractor_shareable
11
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
12
+ class Ractor
13
+ alias value take
14
+ end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
15
+
16
begin;
17
$VERBOSE = nil
18
require "pathname"
@@ -19,4 +23,3 @@ def test_ractor_shareable
19
23
end;
20
24
end
21
25
22
-
0 commit comments