method
__method__
v2_4_6 -
Show latest stable
- Class:
Kernel
__method__()public
Returns the name at the definition of the current method as a Symbol. If called outside of a method, it returns nil.
__method__()Returns the name at the definition of the current method as a Symbol. If called outside of a method, it returns nil.