Sha256: 929293cfbed0111d6d77cfeae36d606fd6f8267780382e0521d0dd1d6d36df2d

Contents?: true

Size: 410 Bytes

Versions: 6

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

module PryByebug
  module Helpers
    #
    # Helpers to aid breaking out of the REPL loop
    #
    module Navigation
      #
      # Breaks out of the REPL loop and signals tracer
      #
      def breakout_navigation(action, options = {})
        _pry_.binding_stack.clear

        throw :breakout_nav, action: action, options: options, pry: _pry_
      end
    end
  end
end

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/helpers/navigation.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.8.0/lib/pry-byebug/helpers/navigation.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/pry-byebug-3.8.0/lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.8.0 lib/pry-byebug/helpers/navigation.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/pry-byebug-3.7.0/lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.7.0 lib/pry-byebug/helpers/navigation.rb