[Pharo-project] Fwd: Having a string of class name, how can I convert the string into Class Object?
j-wings wrote
I am creating some package dependencies test and therefore, I need to find the relationship of each classes.
My plan is that I will use 'allCallsOn' method which is called by a Class Object.
For example:
SpotLight allCallsOn <ClassObj> allCallsOn
However, the input that I have are the array of class names in string. How can I convert the string 'SpotLight' into SpotLight object?
Thank you in advance.
- j-wings ----- Cheers, Sean -- View this message in context: http://forum.world.st/Having-a-string-of-class-name-how-can-I-convert-the-st... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
j-wings wrote
How can I convert the string 'SpotLight' into SpotLight object?
Smalltalk at: 'Spotlight' asSymbol ----- Cheers, Sean -- View this message in context: http://forum.world.st/Having-a-string-of-class-name-how-can-I-convert-the-st... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
/OT Sean, you reading mailing list from web-forum? Otherwise how you seen that posting? On 8 April 2013 23:49, Sean P. DeNigris <sean@clipperadams.com> wrote:
j-wings wrote
How can I convert the string 'SpotLight' into SpotLight object?
Smalltalk at: 'Spotlight' asSymbol
Smalltalk at: #Spotlight
----- Cheers, Sean -- View this message in context: http://forum.world.st/Having-a-string-of-class-name-how-can-I-convert-the-st... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
-- Best regards, Igor Stasenko.
On Apr 8, 2013, at 6:44 PM, "Igor Stasenko [via Smalltalk]" <ml-node+s1294792n4680333h11@n4.nabble.com> wrote:
Sean, you reading mailing list from web-forum? Yes I usually view through Nabble and fwd these when I see them
----- Cheers, Sean -- View this message in context: http://forum.world.st/Having-a-string-of-class-name-how-can-I-convert-the-st... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (2)
-
Igor Stasenko -
Sean P. DeNigris