module PryNav
Constants
- Commands
- TRACE_IGNORE_FILES
- VERSION
Attributes
current_remote_server[RW]
Reference to currently running pry-remote server. Used by the tracer.
Public Instance Methods
check_file_context(target)
click to toggle source
Checks that a binding is in a local file context. Extracted from github.com/pry/pry/blob/master/lib/pry/default_commands/context.rb
# File lib/pry-nav.rb, line 16 def check_file_context(target) file = target.eval('__FILE__') file == Pry.eval_path || (file !~ /(\(.*\))|<.*>/ && file != '' && file != '-e') end