module PryByebug
def check_file_context(target)
Checks that a binding is in a local file context. Extracted from
def check_file_context(target) file = target.eval('__FILE__') file == Pry.eval_path || (file !~ /(\(.*\))|<.*>/ && file != '' && file != '-e') end