From: Shawn M Moore Date: Sat, 30 May 2009 18:51:07 +0000 (-0400) Subject: Add required_method_metaclass attribute X-Git-Tag: 0.80~52 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=77ed8b8d6fdfd0b77c9e9c6e8d279ca575dbcd03;p=gitmo%2FMoose.git Add required_method_metaclass attribute --- diff --git a/lib/Moose/Meta/Role.pm b/lib/Moose/Meta/Role.pm index 0052bd5..7c69995 100644 --- a/lib/Moose/Meta/Role.pm +++ b/lib/Moose/Meta/Role.pm @@ -125,6 +125,12 @@ $META->add_attribute( default => 'Moose::Meta::Role::Method', ); +$META->add_attribute( + 'required_method_metaclass', + reader => 'required_method_metaclass', + default => 'Moose::Meta::Role::Method::Required', +); + ## some things don't always fit, so they go here ... sub add_attribute {