Commit | Line | Data |
de7ba0e9 |
1 | package MooseX::MetaDescription::Meta::Role::HasDescription; |
2 | use Moose::Role; |
3 | |
4 | our $VERSION = '0.01'; |
5 | our $AUTHORITY = 'cpan:STEVAN'; |
6 | |
7 | has 'description' => ( |
8 | is => 'ro', |
9 | isa => 'HashRef', |
10 | lazy => 1, |
11 | default => sub { +{} }, |
12 | ); |
13 | |
14 | no Moose::Role; 1; |
15 | |
16 | __END__ |
17 | |
18 | =pod |
19 | |
20 | =head1 NAME |
21 | |
22 | MooseX::MetaDescription::Meta::Role::HasDescription - A Moosey solution to this problem |
23 | |
24 | =head1 SYNOPSIS |
25 | |
26 | use MooseX::MetaDescription::Meta::Role::HasDescription; |
27 | |
28 | =head1 DESCRIPTION |
29 | |
30 | =head1 METHODS |
31 | |
32 | =over 4 |
33 | |
34 | =item B<> |
35 | |
36 | =back |
37 | |
38 | =head1 BUGS |
39 | |
40 | All complex software has bugs lurking in it, and this module is no |
41 | exception. If you find a bug please either email me, or add the bug |
42 | to cpan-RT. |
43 | |
44 | =head1 AUTHOR |
45 | |
46 | Stevan Little E<lt>stevan.little@iinteractive.comE<gt> |
47 | |
48 | =head1 COPYRIGHT AND LICENSE |
49 | |
50 | Copyright 2008 Infinity Interactive, Inc. |
51 | |
52 | L<http://www.iinteractive.com> |
53 | |
54 | This library is free software; you can redistribute it and/or modify |
55 | it under the same terms as Perl itself. |
56 | |
57 | =cut |