start_with_pry_nav(target = TOPLEVEL_BINDING, options = {})click to toggle source
# File lib/pry-nav/pry_ext.rb, line 7defstart_with_pry_nav(target = TOPLEVEL_BINDING, options = {})
old_options = options.reject { |k, _|k==:pry_remote }
iftarget.is_a?(Binding) &&PryNav.check_file_context(target)
# Wrap the tracer around the usual Pry.startPryNav::Tracer.new(options).rundostart_without_pry_nav(target, old_options)
endelse# No need for the tracer unless we have a file context to step throughstart_without_pry_nav(target, old_options)
endend