Suppose I have a class and an instance method:
ClassExample
^"???"
Is there a way in Smalltalk to get the method name:
var := ClassExample new.
nameOfMyMethod := var methodExample.
"nameOfMyMethod should be 'methodExample' (a string or symbol)"
?
I am developing in VisualAge. Thanks for the help!
source
share