For example, for cats, which is defined in the current context.

self.class.instance_method(:cats).source_location