X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FRole%2FMethod%2FRequired.pm;h=17a0a64784151e4fc465825a0654d4994892439a;hb=refs%2Ftags%2F1.12;hp=89dae2098e2189c32c1762d8edcaa1f82b5901dd;hpb=d7a5a65919cf2c026859558d957bcfd655ec24cc;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Role/Method/Required.pm b/lib/Moose/Meta/Role/Method/Required.pm index 89dae20..17a0a64 100644 --- a/lib/Moose/Meta/Role/Method/Required.pm +++ b/lib/Moose/Meta/Role/Method/Required.pm @@ -10,14 +10,17 @@ use overload '""' => sub { shift->name }, # stringify to method name use base qw(Class::MOP::Object); -our $VERSION = '0.79'; +our $VERSION = '1.12'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; # This is not a Moose::Meta::Role::Method because it has no implementation, it # is just a name -__PACKAGE__->meta->add_attribute('name' => (reader => 'name')); +__PACKAGE__->meta->add_attribute('name' => ( + reader => 'name', + required => 1, +)); sub new { shift->_new(@_) } @@ -63,9 +66,7 @@ Returns the required method's name, as provided to the constructor. =head1 BUGS -All complex software has bugs lurking in it, and this module is no -exception. If you find a bug please either email me, or add the bug -to cpan-RT. +See L for details on reporting bugs. =head1 AUTHOR @@ -73,7 +74,7 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2006-2009 by Infinity Interactive, Inc. +Copyright 2006-2010 by Infinity Interactive, Inc. L