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
12 13 14 15 16 |
# File 'lib/pry-byebug/helpers/navigation.rb', line 12 def (action, = {}) pry_instance.binding_stack.clear throw :breakout_nav, action: action, options: , pry: pry_instance end |