Commit | Line | Data |
c13295c8 |
1 | package MooseX::MetaDescription::Description; |
2 | use Moose; |
3 | |
55e9fc1b |
4 | our $VERSION = '0.05'; |
c13295c8 |
5 | our $AUTHORITY = 'cpan:STEVAN'; |
6 | |
de7ba0e9 |
7 | has 'descriptor' => ( |
8 | is => 'ro', |
7591e02c |
9 | does => 'MooseX::MetaDescription::Meta::Trait', |
32039444 |
10 | weak_ref => 1, |
de7ba0e9 |
11 | required => 1, |
12 | ); |
13 | |
c13295c8 |
14 | no Moose; 1; |
15 | |
16 | __END__ |
17 | |
18 | =pod |
19 | |
20 | =head1 NAME |
21 | |
d253607a |
22 | MooseX::MetaDescription::Description - A base class for Meta Descriptions |
c13295c8 |
23 | |
24 | =head1 DESCRIPTION |
25 | |
d253607a |
26 | This is a base class for building more complex custom meta-description |
27 | classes. All it does by default is to provide a back-link to the original |
28 | attribute it is describing. |
29 | |
c13295c8 |
30 | =head1 METHODS |
31 | |
32 | =over 4 |
33 | |
d253607a |
34 | =item B<descriptor> |
35 | |
36 | The actual attribute that is being described. |
c13295c8 |
37 | |
56e78a9c |
38 | =item B<meta> |
39 | |
40 | The Moose metaclass. |
41 | |
c13295c8 |
42 | =back |
43 | |
44 | =head1 BUGS |
45 | |
46 | All complex software has bugs lurking in it, and this module is no |
47 | exception. If you find a bug please either email me, or add the bug |
48 | to cpan-RT. |
49 | |
50 | =head1 AUTHOR |
51 | |
52 | Stevan Little E<lt>stevan.little@iinteractive.comE<gt> |
53 | |
54 | =head1 COPYRIGHT AND LICENSE |
55 | |
56 | Copyright 2008 Infinity Interactive, Inc. |
57 | |
58 | L<http://www.iinteractive.com> |
59 | |
60 | This library is free software; you can redistribute it and/or modify |
61 | it under the same terms as Perl itself. |
62 | |
63 | =cut |