undefine_method/3
undefine_method(
+Obj,
+Name,
+Arity)
Removes Obj's current instance method for the Name/Arity message. After executing this goal, sending this message to Obj executes the class's default method for the message.
Name/Arity must have been declared to be an instance method for the class of Obj.
If Obj has no current instance method for the Name/Arity message, the predicate has no effect.
instantiation_error
type_error
domain_error
define_method/3
, instance_method/1