Handbook
Glossary
forget-methods ( class -- )
Factor handbook
»
The language
»
Objects
»
Classes
»
Class predicate words
Prev:
forget-class ( class -- )
Vocabulary
classes
.
private
Inputs
class
a
class
Outputs
None
Word description
Forgets all methods defined on a class. In contrast to
reset-class
, this not only forgets accessors but also any methods at all on the class.
Definition
IN:
classes.private
GENERIC:
forget-methods
( class -- )
Methods
USING:
classes
classes.private
definitions
generic
kernel
sequences
;
M:
class
forget-methods
[
implementors
]
[
[
swap
?lookup-method
]
curry
]
bi
map
forget-all
;