This file is indexed.

/usr/lib/ruby/vendor_ruby/celluloid/method.rb is in ruby-celluloid 0.16.0-4.

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
25
26
27
28
29
30
31
32
module Celluloid
  # Method handles that route through an actor proxy
  class Method

    def initialize(proxy, name)
      raise NameError, "undefined method `#{name}'" unless proxy.respond_to? name

      @proxy, @name = proxy, name
      @klass = @proxy.class
    end

    def arity
      @proxy.method_missing(:method, @name).arity
    end

    def name
      @proxy.method_missing(:method, @name).name
    end

    def parameters
      @proxy.method_missing(:method, @name).parameters
    end

    def call(*args, &block)
      @proxy.__send__(@name, *args, &block)
    end

    def inspect
      "#<Celluloid::Method #{@klass}##{@name}>"
    end
  end
end