Sha256: a1306b5f9e34701f3623e72b803b14674611d0764f0763803452b49eb598d584

Contents?: true

Size: 379 Bytes

Versions: 15

Compression:

Stored size: 379 Bytes

Contents

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

15 entries across 14 versions & 4 rubygems

Version Path
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/pry-byebug-3.6.0/lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.6.0 lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.5.1 lib/pry-byebug/helpers/navigation.rb
tdiary-5.0.6 vendor/bundle/gems/pry-byebug-3.5.0/lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.5.0 lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.4.3 lib/pry-byebug/helpers/navigation.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/pry-byebug-3.4.2/lib/pry-byebug/helpers/navigation.rb
tdiary-5.0.5 vendor/bundle/gems/pry-byebug-3.4.2/lib/pry-byebug/helpers/navigation.rb
tdiary-5.0.4 vendor/bundle/gems/pry-byebug-3.4.2/lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.4.2 lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.4.1 lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.4.0 lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.3.0 lib/pry-byebug/helpers/navigation.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/pry-byebug-3.2.0/lib/pry-byebug/helpers/navigation.rb
pry-byebug-3.2.0 lib/pry-byebug/helpers/navigation.rb