projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f0916ad
)
Make roles required
Shawn M Moore [Sun, 31 May 2009 02:42:25 +0000 (22:42 -0400)]
lib/Moose/Meta/Role/Method/Conflicting.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Role/Method/Conflicting.pm
b/lib/Moose/Meta/Role/Method/Conflicting.pm
index
73eeadd
..
5ddd17d
100644
(file)
--- a/
lib/Moose/Meta/Role/Method/Conflicting.pm
+++ b/
lib/Moose/Meta/Role/Method/Conflicting.pm
@@
-10,7
+10,10
@@
our $VERSION = '0.79';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
-__PACKAGE__->meta->add_attribute('roles' => (reader => 'roles'));
+__PACKAGE__->meta->add_attribute('roles' => (
+ reader => 'roles',
+ required => 1,
+));
sub is_conflict { 1 }