( aClass >> #aSelector ) sourceCode.
Ex:
(Morph>>#drawOn:) sourceCode
For class side methods:
(Object class >> #taskbarIcon) sourceCode
Best regards,
Henrik
From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org]
On Behalf Of Guillaume Ongenae
Sent: Thursday, March 10, 2016 11:14 AM
To: pharo-users@lists.pharo.org
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.
Any help is welcome.
--
|
|
|||
|
|||
|
|