Pharo5, sorry. I used a different code to make it work:
org := aClass organization protocolOrganizer.
org addProtocolNamed: 'code'.
org allMethods do: [:aMethod | org classify: aMethod
inProtocolNamed: 'code'].
org removeEmptyProtocols.
Le 27/05/2017 à 03:37, Ben Coman a écrit :
> Usual starting question, what version?
> cheers -ben
>
--
Dr. Geo
http://drgeo.eu
