( aClass >> #aSelector ) sourceCode.
Ex:
(Morph>>#drawOn:) sourceCode
For class side methods:
(Object class >> #taskbarIcon) sourceCode
Best regards,
Henrik
From: Pharo-users [mailto:[hidden email]]
On Behalf Of Guillaume Ongenae
Sent: Thursday, March 10, 2016 11:14 AM
To: [hidden email]
Subject: [Pharo-users] Get the code of a method - Artefact
Hello,
I'm a student at Lille 1 university, so I'm still a beginner in Pharo
I'm working on Artefact to create a more understable and complete demonstration.
To do that I would like to print the code of a given method. However I can find how to decompiled the given method.
|
Feil! Filnavn er ikke angitt.
|
|
Feil! Filnavn er ikke angitt.about.me/guillaume.ongenae
|
|
|