forget-class ( class -- )
Factor handbook » The language » Objects » Classes » Class predicate words

Prev:reset-class ( class -- )
Next:forget-methods ( class -- )


Vocabulary
classes

Inputs
classa class


Outputs
None

Word description
Removes a class by forgetting all of the methods defined on that class and all of the methods generated when that class was defined. Also resets any caches that may contain that class.

Definition