instance method
PP::PPMethods#push_inspect_key
(::PP::_PrettyPrint id) -> void
push_inspect_key(id)
lib/pp.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/pp.rb, line 168
def push_inspect_key(id)
Thread.current[:__recursive_key__][:inspect][id] = true
end
Adds the object_id id to the set of objects being pretty printed, so as to not repeat objects.