method

owner

owner()
public

Returns the class or module that defines the method. See also receiver.

(1..3).method(:map).owner #=> Enumerable