method

__method__

v1_9_2_180 - 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.