Sha256: 4dd5e726cb1b8242d6153fa9f2c687cfd01723cdb80ef138a99017a5377f8af8
Contents?: true
Size: 460 Bytes
Versions: 14
Compression:
Stored size: 460 Bytes
Contents
module PryByebug 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
14 entries across 14 versions & 2 rubygems