Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/thread-self/root/proc/self/root/opt/alt/ruby32/share/gems/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/proc/self/root/opt/alt/ruby32/share/gems/gems/bundler-2.4.19/lib/bundler/vendor/thor/lib/thor/nested_context.rb

class Bundler::Thor
  class NestedContext
    def initialize
      @depth = 0
    end

    def enter
      push

      yield
    ensure
      pop
    end

    def entered?
      @depth > 0
    end

    private

    def push
      @depth += 1
    end

    def pop
      @depth -= 1
    end
  end
end

Hacked By AnonymousFox1.0, Coded By AnonymousFox