Sha256: a1b2785d4b71c1c1188652a7196a7677eb23b248c7cfe98e76378bc8414f1a18
Contents?: true
Size: 566 Bytes
Versions: 4
Compression:
Stored size: 566 Bytes
Contents
require 'pry' require 'pry-nav/tracer' class << Pry alias_method :start_existing, :start def start(target = TOPLEVEL_BINDING, options = {}) old_options = options.reject { |k, _| k == :pry_remote } if target.is_a?(Binding) && PryNav.check_file_context(target) # Wrap the tracer around the usual Pry.start PryNav::Tracer.new(options).run do start_existing(target, old_options) end else # No need for the tracer unless we have a file context to step through start_existing(target, old_options) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pry-nav-0.2.2 | lib/pry-nav/pry_ext.rb |
pry-nav-0.2.1 | lib/pry-nav/pry_ext.rb |
pry-nav-0.2.0 | lib/pry-nav/pry_ext.rb |
pry-nav-0.1.0 | lib/pry-nav/pry_ext.rb |