In Files

  • debug-1.4.0/lib/debug/thread_client.rb

DEBUGGER__::SkipPathHelper

Public Instance Methods

skip_location?(loc) click to toggle source
 
               # File debug-1.4.0/lib/debug/thread_client.rb, line 13
def skip_location?(loc)
  loc_path = loc.absolute_path || "!eval:#{loc.path}"
  skip_path?(loc_path)
end
            
skip_path?(path) click to toggle source
 
               # File debug-1.4.0/lib/debug/thread_client.rb, line 9
def skip_path?(path)
  (skip_paths = CONFIG[:skip_path]) && skip_paths.any?{|skip_path| path.match?(skip_path)}
end
            
There is an updated format of the API docs for this version here.