more refactoring to roles
[gitmo/MooseX-MetaDescription.git] / lib / MooseX / MetaDescription / Meta / Role / HasDescription.pm
CommitLineData
de7ba0e9 1package MooseX::MetaDescription::Meta::Role::HasDescription;
2use Moose::Role;
3
4our $VERSION = '0.01';
5our $AUTHORITY = 'cpan:STEVAN';
6
7has 'description' => (
8 is => 'ro',
9 isa => 'HashRef',
10 lazy => 1,
11 default => sub { +{} },
12);
13
14no Moose::Role; 1;
15
16__END__
17
18=pod
19
20=head1 NAME
21
22MooseX::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
40All complex software has bugs lurking in it, and this module is no
41exception. If you find a bug please either email me, or add the bug
42to cpan-RT.
43
44=head1 AUTHOR
45
46Stevan Little E<lt>stevan.little@iinteractive.comE<gt>
47
48=head1 COPYRIGHT AND LICENSE
49
50Copyright 2008 Infinity Interactive, Inc.
51
52L<http://www.iinteractive.com>
53
54This library is free software; you can redistribute it and/or modify
55it under the same terms as Perl itself.
56
57=cut