2017-05-27 13:58 GMT+02:00 Denis Kudriashov <[email protected]>:

>
> 2017-05-26 19:22 GMT+02:00 Thierry Goubier <[email protected]>:
>
>>
>> This should work:
>>
>> org := (RPackageOrganizer default packageNamed: 'MyPackage').
>> tag := org addClassTag: #Classes.
>> org definedClasses do: [ :aClass |
>>         aClass category: tag categoryName   ].
>
>
> In Pharo 6 there is new tag API for classes:
>
> #MyPackage asPackage definedClasses do: [:each | each tagWith: #Classes]
>
>
Will:

#MyPackage asPackage definedClasses do: [:each | each tagWith: #MyPackage]

put the classes in the #MyPackage or in the #MyPackage-MyPackage system
category?

Will that API stay the same when we will be able to put a class in multiple
categories (or a method in multiple protocols)?

Regards,

Thierry

Reply via email to