Sha256: 380cc907afd1281055ef783ab20f5a8bce55a533f60817dbf1562b33ed2a65f8
Contents?: true
Size: 577 Bytes
Versions: 5
Compression:
Stored size: 577 Bytes
Contents
module PryDebugger 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 = target.eval('__FILE__') file == Pry.eval_path || (file !~ /(\(.*\))|<.*>/ && file != '' && file != '-e') end # Reference to currently running pry-remote server. Used by the processor. attr_accessor :current_remote_server end
Version data entries
5 entries across 5 versions & 1 rubygems