Add composition_class_roles
Andrew Rodland [Thu, 20 Jan 2011 15:49:38 +0000 (09:49 -0600)]
lib/MooseX/ClassAttribute/Trait/Role.pm

index c7b639d..084f9e7 100644 (file)
@@ -31,6 +31,10 @@ sub _attach_class_attribute {
     $attribute->attach_to_role($self);
 }
 
+sub composition_class_roles {
+  return 'MooseX::ClassAttribute::Trait::CompositeRole';
+}
+
 1;
 
 # ABSTRACT: A trait for roles with class attributes