Exclude exclusion of frames when developing an actual gem #20

Closed
rking opened this Issue Jan 5, 2013 · 1 comment

1 participant

@rking
Collaborator

This needs an additional pair of checks to ask if the path is below Dir.pwd
but not in vendor.

lib/pry-rescue.rb

def user_path?(file)
  !file.start_with?(RbConfig::CONFIG['libdir']) &&
  !gem_path?(file) &&
  !%w( (eval) <internal:prelude> ).include?(file)
  # Here, I assume
end
@rking rking added a commit that referenced this issue Jan 7, 2013
@rking rking Do not skip Dir.pwd frames, re: #20 e808e09
@rking
Collaborator

Yep, is good.

@rking rking closed this Jan 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment