inheriting class desc
[gitmo/MooseX-MetaDescription.git] / lib / MooseX / MetaDescription / Description.pm
1 package MooseX::MetaDescription::Description;
2 use Moose;
3
4 our $VERSION   = '0.02';
5 our $AUTHORITY = 'cpan:STEVAN';
6
7 has 'descriptor' => (
8     is       => 'ro',  
9     does     => 'MooseX::MetaDescription::Meta::Trait',   
10     weak_ref => 1, 
11     required => 1,
12 );
13
14 no Moose; 1;
15
16 __END__
17
18 =pod
19
20 =head1 NAME
21
22 MooseX::MetaDescription::Description - A base class for Meta Descriptions
23
24 =head1 DESCRIPTION
25
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
30 =head1 METHODS 
31
32 =over 4
33
34 =item B<descriptor>
35
36 The actual attribute that is being described.
37
38 =back
39
40 =head1 BUGS
41
42 All complex software has bugs lurking in it, and this module is no 
43 exception. If you find a bug please either email me, or add the bug
44 to cpan-RT.
45
46 =head1 AUTHOR
47
48 Stevan Little E<lt>stevan.little@iinteractive.comE<gt>
49
50 =head1 COPYRIGHT AND LICENSE
51
52 Copyright 2008 Infinity Interactive, Inc.
53
54 L<http://www.iinteractive.com>
55
56 This library is free software; you can redistribute it and/or modify
57 it under the same terms as Perl itself.
58
59 =cut