Module: PryByebug::Helpers::Navigation
- Included in:
- BacktraceCommand, ContinueCommand, DownCommand, FinishCommand, FrameCommand, NextCommand, StepCommand, UpCommand
- Defined in:
- lib/pry-byebug/helpers/navigation.rb
Overview
Helpers to aid breaking out of the REPL loop
Instance Method Summary collapse
-
#breakout_navigation(action, options = {}) ⇒ Object
Breaks out of the REPL loop and signals tracer.
Instance Method Details
#breakout_navigation(action, options = {}) ⇒ Object
Breaks out of the REPL loop and signals tracer
10 11 12 13 14 |
# File 'lib/pry-byebug/helpers/navigation.rb', line 10 def (action, = {}) _pry_.binding_stack.clear throw :breakout_nav, action: action, options: , pry: _pry_ end |