This file is indexed.

/usr/lib/ruby/vendor_ruby/chunky_png/compatibility.rb is in ruby-chunky-png 1.2.8-1.

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
# Define the byte-operators on a string if they're not defined (Ruby 1.8)

class String
  alias_method :getbyte, :[]    unless method_defined?(:getbyte)
  alias_method :setbyte, :[]=   unless method_defined?(:setbyte)
  alias_method :bytesize, :size unless method_defined?(:bytesize)
end

module Enumerable
  unless method_defined?(:minmax)
    def minmax
      [min, max]
    end
  end
end