Documentation for method add_method assembled from the following pages:

Role: Metamodel::MethodContainer §

From Metamodel::MethodContainer

(Metamodel::MethodContainer) method add_method §

method add_method($obj$name$code)

Adds a method to the metaclass, to be called with name $name. This should only be done before a type is composed.