adding the applied_traits method to attr
[gitmo/Moose.git] / lib / Moose / Meta / Attribute.pm
index 6ec176d..28b2488 100644 (file)
@@ -46,6 +46,10 @@ __PACKAGE__->meta->add_attribute('documentation' => (
     reader    => 'documentation',
     predicate => 'has_documentation',
 ));
+__PACKAGE__->meta->add_attribute('traits' => (
+    reader    => 'applied_traits',
+    predicate => 'has_applied_traits',
+));
 
 # NOTE:
 # we need to have a ->does method in here to