Sha256: 15cdd4700f6cf5b97af45ce500046addbcdc4b86a7ea04ec69abe9411d801bb1

Contents?: true

Size: 288 Bytes

Versions: 6

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

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 entries across 6 versions & 5 rubygems

Version Path
talon_one-2.0.0 vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.7.0/lib/pry-byebug/commands/exit_all.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.8.0/lib/pry-byebug/commands/exit_all.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.8.0/lib/pry-byebug/commands/exit_all.rb
pry-byebug-3.8.0 lib/pry-byebug/commands/exit_all.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.7.0/lib/pry-byebug/commands/exit_all.rb
pry-byebug-3.7.0 lib/pry-byebug/commands/exit_all.rb