This file is indexed.

/usr/lib/ruby/1.9.1/diakonos/hooks.rb is in diakonos 0.9.0-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
module Diakonos
  class Diakonos
    def register_proc( the_proc, hook_name, priority = 0 )
      @hooks[ hook_name ] << { :proc => the_proc, :priority => priority }
    end

    def run_hook_procs( hook_id, *args )
      @hooks[ hook_id ].each do |hook_proc|
        hook_proc[ :proc ].call( *args )
      end
    end
  end
end