Stub 'has_attribute' and make 'has' use 'add_attribute'
[gitmo/Mouse.git] / lib / Mouse / Meta / Role.pm
index f04dd18..927945a 100644 (file)
@@ -32,5 +32,11 @@ sub new {
 
 sub name { $_[0]->{name} }
 
+sub has_attribute { }
+
+sub add_attribute {
+    $_[0]->{attributes}->{$_[1]} = $_[2];
+}
+
 1;