method

__method__

v1_9_1_378 - Show latest stable - Class: Kernel
__method__()
public

Returns the name of the current method as a Symbol. If called outside of a method, it returns nil.