Sha256: b38fa330dd59a357f1e92127a0eef2e2fb9b5ec1b169394b07f5f904a172982d
Contents?: true
Size: 867 Bytes
Versions: 2
Compression:
Stored size: 867 Bytes
Contents
require 'pry-nav/version' require 'pry-nav/pry_ext' require 'pry-nav/commands' require 'pry-nav/tracer' # Optionally load pry-remote monkey patches require 'pry-nav/pry_remote_ext' if defined? PryRemote module PryNav TRACE_IGNORE_FILES = Dir[File.join(File.dirname(__FILE__), '**', '*.rb')].map { |f| File.expand_path(f) } extend self # Checks that a binding is in a local file context. Extracted from # https://github.com/pry/pry/blob/master/lib/pry/default_commands/context.rb def check_file_context(target) file = if target.respond_to?(:source_location) target.source_location.first else target.eval('__FILE__') end file == Pry.eval_path || (file !~ /(\(.*\))|<.*>/ && file != '' && file != '-e') end # Reference to currently running pry-remote server. Used by the tracer. attr_accessor :current_remote_server end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
pryx-0.11.0 | lib/pry-nav.rb |
pry-nav-1.0.0 | lib/pry-nav.rb |