In role Metamodel::MethodContainer§

See primary documentation in context for 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.