2 package Moose::Meta::Role::Method::Required;
8 use overload '""' => sub { shift->name }, # stringify to method name
11 use base qw(Class::MOP::Object);
13 our $VERSION = '0.79';
14 $VERSION = eval $VERSION;
15 our $AUTHORITY = 'cpan:STEVAN';
17 # This is not a Moose::Meta::Role::Method because it has no implementation, it
20 __PACKAGE__->meta->add_attribute('name' => (reader => 'name'));
30 Moose::Meta::Role::Method::Required - A Moose metaclass for required methods in Roles
36 All complex software has bugs lurking in it, and this module is no
37 exception. If you find a bug please either email me, or add the bug
42 Stevan Little E<lt>stevan@iinteractive.comE<gt>
44 =head1 COPYRIGHT AND LICENSE
46 Copyright 2006-2009 by Infinity Interactive, Inc.
48 L<http://www.iinteractive.com>
50 This library is free software; you can redistribute it and/or modify
51 it under the same terms as Perl itself.