bump version to 0.83
[gitmo/Moose.git] / lib / Moose / Meta / Role / Method / Conflicting.pm
CommitLineData
eec8ca8a 1
bb153262 2package Moose::Meta::Role::Method::Conflicting;
eec8ca8a 3
4use strict;
5use warnings;
6
7use base qw(Moose::Meta::Role::Method::Required);
8
e6ab9ca5 9our $VERSION = '0.83';
eec8ca8a 10$VERSION = eval $VERSION;
11our $AUTHORITY = 'cpan:STEVAN';
12
44ed8891 13__PACKAGE__->meta->add_attribute('roles' => (
14 reader => 'roles',
15 required => 1,
16));
eec8ca8a 17
181;
19
20__END__
21
22=pod
23
24=head1 NAME
25
bb153262 26Moose::Meta::Role::Method::Conflicting - A Moose metaclass for conflicting methods in Roles
eec8ca8a 27
28=head1 DESCRIPTION
29
30=head1 INHERITANCE
31
bb153262 32C<Moose::Meta::Role::Method::Conflicting> is a subclass of
eec8ca8a 33L<Moose::Meta::Role::Method::Required>.
34
97403951 35=head1 METHODS
36
37=over 4
38
49f8f3e6 39=item B<< Moose::Meta::Role::Method::Conflicting->new(%options) >>
40
41This creates a new type constraint based on the provided C<%options>:
42
43=over 8
44
45=item * name
46
47The method name. This is required.
48
49=item * roles
50
51The list of role names that generated the conflict. This is required.
52
53=back
54
55=item B<< $method->name >>
56
57Returns the conflicting method's name, as provided to the constructor.
58
59=item B<< $method->roles >>
60
61Returns the roles that generated this conflicting method, as provided to the
62constructor.
63
97403951 64=back
65
eec8ca8a 66=head1 BUGS
67
68All complex software has bugs lurking in it, and this module is no
69exception. If you find a bug please either email me, or add the bug
70to cpan-RT.
71
72=head1 AUTHOR
73
74Stevan Little E<lt>stevan@iinteractive.comE<gt>
75
76=head1 COPYRIGHT AND LICENSE
77
78Copyright 2006-2009 by Infinity Interactive, Inc.
79
80L<http://www.iinteractive.com>
81
82This library is free software; you can redistribute it and/or modify
83it under the same terms as Perl itself.
84
85=cut