This file is indexed.

/usr/lib/ruby/vendor_ruby/pry/commands/ls/interrogatable.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
module Pry::Command::Ls::Interrogatable

  private

  def interrogating_a_module?
    Module === @interrogatee
  end

  def interrogatee_mod
    if interrogating_a_module?
      @interrogatee
    else
      singleton = Pry::Method.singleton_class_of(@interrogatee)
      singleton.ancestors.grep(::Class).reject { |c| c == singleton }.first
    end
  end

end