Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #633 from kachick/implement-kernel-__callee__
Implement Kernel#__callee__
- Loading branch information
Showing
with
1 addition
and 3 deletions.
@@ -1,9 +1,6 @@ | ||
fails:Kernel.__callee__ returns the current method, even when aliased | ||
fails:Kernel.__callee__ returns the original name when aliased method | ||
fails:Kernel.__callee__ returns the caller from blocks too | ||
fails:Kernel.__callee__ returns the caller from define_method too | ||
fails:Kernel.__callee__ returns the caller from block inside define_method too | ||
fails:Kernel.__callee__ returns the caller from a define_method called from the same class | ||
fails:Kernel.__callee__ returns method name even from eval | ||
fails:Kernel.__callee__ returns nil when not called from a method | ||
fails:Kernel.__callee__ returns the caller when sent as a string |