This file is indexed.

/usr/lib/ruby/vendor_ruby/pry/rbx_path.rb is in pry 0.10.3-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
class Pry
  module RbxPath
    module_function
    def is_core_path?(path)
      Pry::Helpers::BaseHelpers.rbx? && (path.start_with?("kernel") || path.start_with?("lib")) && File.exist?(convert_path_to_full(path))
    end

    def convert_path_to_full(path)
      if path.start_with?("kernel")
        File.join File.dirname(Rubinius::KERNEL_PATH), path
      elsif path.start_with?("lib")
        File.join File.dirname(Rubinius::LIB_PATH), path
      else
        path
      end
    end

    def rvm_ruby?(path)
      !!(path =~ /\.rvm/)
    end
  end
end