[Pharo-dev] Remove Class Category

Clément Bera bera.clement at gmail.com
Tue Nov 12 03:57:55 EST 2013


Hello,

I would look at:

SystemOrganizer>>removeCategory:
and you access it with: Smalltalk organization

But I'm not sure it will help you.



2013/11/11 Jimmie Houchin <jlhouchin at gmail.com>

> Hello,
>
> I am wanting to write a method which uninstalls all of the Classes which I
> have created.
>
> I have one which looks like this:
>
> uninstall
>
>     AllClasses reverse do: [ :c | Smalltalk removeClassNamed: c ]
>
>
> However the class category which was created to install them into still
> remains. I am having a hard time discovering what method I use to remove
> the category these classes were in.
>
> There are a lot of methods with category in the name. And is quite
> confusing how category and protocol are sometimes used interchangeably. I
> can't tell whether or not they are talking about removing the method's
> protocol categorization or the classes' category categorization. Its not
> until you go read the source that you might learn which you are looking at.
>
> Any help pointing to the method I am looking for is greatly appreciated.
>
> Jimmie
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131112/32f303a6/attachment-0002.html>


More information about the Pharo-dev mailing list