method
owner
v2_6_3 -
Show latest stable
- Class:
UnboundMethod
owner()public
Returns the class or module that defines the method. See also receiver.
(1..3).method(:map).owner #=> Enumerable
owner()Returns the class or module that defines the method. See also receiver.
(1..3).method(:map).owner #=> Enumerable