[Pharo-users] Finding the package of a class

Stéphane Ducasse stephane.ducasse at inria.fr
Sun Jun 17 17:11:47 EDT 2012


On Jun 17, 2012, at 4:10 PM, Sean P. DeNigris wrote:

> 
> Sean P. DeNigris wrote
>> 
>> How do I get the mc package?
>> 
> 
> This ugly thing is the best I could come up with...
> MCPackage allInstances detect: [ :pkg | pkg packageInfo
> includesSystemCategory: categoryName ] ].
> 
> b.t.w. I found it very confusing that there are packages, package infos,
> versions, version infos... will Ring simplify this, or is that totally
> different?

No ring is orthogonal. It is just a code model.
Now we are working on removing PackageInfo and packageOrganizer, then the second one is 
MCPackage.

Stef





More information about the Pharo-users mailing list