Flowdock
guard_inspect_key() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

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
Register or log in to add new notes.