We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee7230c commit de70988Copy full SHA for de70988
harness/harness-common.rb
@@ -13,7 +13,7 @@
13
# Seed the global random number generator for repeatability between runs
14
Random.srand(1337)
15
16
-if !Ractor.respond_to?(:make_shareable)
+if defined?(Ractor) && !Ractor.respond_to?(:make_shareable)
17
class Ractor
18
#noop
19
def make_shareable(obj, copy: false); obj; end
0 commit comments