Documentation for method roles_to_compose assembled from the following pages:

Role: Metamodel::RoleContainer §

From Metamodel::RoleContainer

(Metamodel::RoleContainer) method roles_to_compose §

method roles_to_compose($obj --> List:D)

returns a list of roles added with add_role, which are to be composed at type composition time.