We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2494bdc commit 776a139Copy full SHA for 776a139
harness/harness-common.rb
@@ -13,6 +13,13 @@
13
# Seed the global random number generator for repeatability between runs
14
Random.srand(1337)
15
16
+if !Ractor.respond_to?(:make_shareable)
17
+ class Ractor
18
+ #noop
19
+ def make_shareable(obj, copy: false); obj; end
20
+ end
21
+end
22
+
23
def format_number(num)
24
num.to_s.split(".").tap do |a|
25
# Insert comma separators but only in the whole number portion (a[0]).
0 commit comments