Related to #7554, there is no way to tell the called method is a singleton method or an ordinary method.
#4 Updated by nobu (Nobuyoshi Nakada) over 4 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r42449.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- object.c (rb_mod_singleton_p): new method Module#singleton_class? to return whether the receiver is a singleton class or not. [Feature #7609]