Sha256: aeba5aaa7b5862cc397fc855eff984d787f8cc0c57fd7c0795cfa5279332a23c
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 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 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pry-nav-0.0.4 | lib/pry-nav/pry_ext.rb |