add_method
ErrorsCollection

add_method

Synthesised documentation from type/Metamodel/MethodContainer

From type/Metamodel/MethodContainer

See Original text in context

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.