method
guard_inspect_key
guard_inspect_key()
public
Hide source
# File lib/pp.rb, line 110 def guard_inspect_key if Thread.current[InspectKey] == nil Thread.current[InspectKey] = [] end save = Thread.current[InspectKey] begin Thread.current[InspectKey] = [] yield ensure Thread.current[InspectKey] = save end end