Commit | Line | Data |
63fcc508 |
1 | package MooseX::ClassAttribute::Trait::Application; |
88b7f2c8 |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
eeee5ccb |
6 | our $VERSION = '0.12'; |
f77be127 |
7 | |
88b7f2c8 |
8 | use namespace::autoclean; |
9 | use Moose::Role; |
10 | |
11 | after apply_attributes => sub { |
4cbcd0f0 |
12 | shift->_apply_class_attributes(@_); |
88b7f2c8 |
13 | }; |
14 | |
15 | 1; |
04b89789 |
16 | |
17 | __END__ |
18 | |
19 | =pod |
20 | |
21 | =head1 NAME |
22 | |
23 | MooseX::ClassAttribute::Trait::Application - A trait that supports role application for roles with class attributes |
24 | |
25 | =head1 DESCRIPTION |
26 | |
27 | This trait is used to allow the application of roles containing class |
28 | attributes. |
29 | |
30 | =head1 AUTHOR |
31 | |
32 | Dave Rolsky, C<< <autarch@urth.org> >> |
33 | |
34 | =head1 BUGS |
35 | |
36 | See L<MooseX::ClassAttribute> for details. |
37 | |
38 | =head1 COPYRIGHT & LICENSE |
39 | |
0cee5df4 |
40 | Copyright 2007-2010 Dave Rolsky, All Rights Reserved. |
04b89789 |
41 | |
42 | This program is free software; you can redistribute it and/or modify |
43 | it under the same terms as Perl itself. |
44 | |
45 | =cut |