module Pry

Public Class Methods

start(target = TOPLEVEL_BINDING, options = {})
Also aliased as: start_without_pry_nav
Alias for: start_with_pry_nav
start_with_pry_nav(target = TOPLEVEL_BINDING, options = {}) click to toggle source
# File lib/pry-moves/pry_ext.rb, line 4
def start_with_pry_nav(target = TOPLEVEL_BINDING, options = {})
  old_options = options.reject { |k, _| k == :pry_remote }

  if target.is_a?(Binding) && PryMoves.check_file_context(target)
    # Wrap the tracer around the usual Pry.start
    PryMoves::PryWrapper.new(target, options).run do
      start_without_pry_nav(target, old_options)
    end
  else
    # No need for the tracer unless we have a file context to step through
    start_without_pry_nav(target, old_options)
  end
end
Also aliased as: start
start_without_pry_nav(target = TOPLEVEL_BINDING, options = {})
Alias for: start