This file is indexed.

/usr/lib/ruby/vendor_ruby/pry/config.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
23
24
class Pry::Config
  require_relative 'config/behavior'
  require_relative 'config/default'
  require_relative 'config/convenience'
  include Pry::Config::Behavior

  def self.shortcuts
    Convenience::SHORTCUTS
  end

  #
  # FIXME
  # @param [Pry::Hooks] hooks
  #
  def hooks=(hooks)
    if hooks.is_a?(Hash)
      warn "Hash-based hooks are now deprecated! Use a `Pry::Hooks` object " \
           "instead! http://rubydoc.info/github/pry/pry/master/Pry/Hooks"
      self["hooks"] = Pry::Hooks.from_hash(hooks)
    else
      self["hooks"] = hooks
    end
  end
end