End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
PP::PPMethods#push_inspect_key
push_inspect_key(id)
lib/pp.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/pp.rb, line 151
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.