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

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/pry-byebug-1.3.3/lib/pry-byebug/base.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/pry-byebug-1.3.3/lib/pry-byebug/base.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/pry-byebug-1.3.3/lib/pry-byebug/base.rb
pry-byebug-1.3.3 lib/pry-byebug/base.rb
pry-byebug-1.3.2 lib/pry-byebug/base.rb
pry-byebug-1.3.1 lib/pry-byebug/base.rb
pry-byebug-1.3.0 lib/pry-byebug/base.rb
pry-byebug-1.2.1 lib/pry-byebug/base.rb
pry-byebug-1.2.0 lib/pry-byebug/base.rb
pry-byebug-1.1.2 lib/pry-byebug/base.rb
pry-byebug-1.1.1 lib/pry-byebug/base.rb
pry-byebug-1.1.0 lib/pry-byebug/base.rb
pry-byebug-1.0.1 lib/pry-byebug/base.rb
pry-byebug-1.0.0 lib/pry-byebug/base.rb