summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pp.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index a410a0d04a..ce282bee00 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -100,6 +100,7 @@ class PP < PrettyPrint
def sharing_detection
Ractor.current[:pp_sharing_detection]
end
+ # Sets the sharing detection flag to b.
def sharing_detection=(b)
Ractor.current[:pp_sharing_detection] = b
end