[Pharo-users] Finding the package of a class

Benjamin benjamin.vanryseghem.pharo at gmail.com
Sun Jun 17 10:24:01 EDT 2012


If you have Nautilus loaded, there is a class which stores the bindings between RPackage and MCPackage, so you can query it .

But yes, it's a mess to have at least two different representation for the same things

Ben

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?
> 
> --
> View this message in context: http://forum.world.st/Finding-the-package-of-a-class-tp4635070p4635212.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
> 





More information about the Pharo-users mailing list