Documentation for method add_method

Documentation for method add_method, assembled from the following types:

role Metamodel::MethodContainer

From Metamodel::MethodContainer

(Metamodel::MethodContainer) method add_method

method add_method(Metamodel::MethodContainer: $obj$name$code)

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