Sha256: ecb3e1814e3bde18329c61bf2237bb86d119276da6f91e39b5d220ca72beffd2

Contents?: true

Size: 321 Bytes

Versions: 6810

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

require "pry/commands/exit_all"

module PryByebug
  #
  # Exit pry REPL with Byebug.stop
  #
  class ExitAllCommand < Pry::Command::ExitAll
    def process
      super
    ensure
      Byebug.stop if Byebug.stoppable?
    end
  end
end

Pry::Commands.add_command(PryByebug::ExitAllCommand)

Version data entries

6,810 entries across 6,806 versions & 29 rubygems

Version Path
ory-client-0.0.1.alpha44 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha43 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha42 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha41 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha40 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha39 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha38 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha37 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha36 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-kratos-client-0.8.2.alpha1 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha31 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
primary_connect_proto-0.4.0 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
primary_connect_proto-0.3.0 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
primary_connect_proto-0.2.0 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
primary_connect_proto-0.1.0 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha30 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha29 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
primary_connect_proto-0.0.6 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
ory-client-0.0.1.alpha28 vendor/bundle/ruby/2.5.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb
primary_connect_proto-0.0.5 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.9.0/lib/pry-byebug/commands/exit_all.rb