Commit | Line | Data |
---|---|---|
63fcc508 | 1 | package MooseX::ClassAttribute::Trait::Application; |
88b7f2c8 | 2 | |
3 | use strict; | |
4 | use warnings; | |
5 | ||
6 | use namespace::autoclean; | |
7 | use Moose::Role; | |
8 | ||
9 | after apply_attributes => sub { | |
4cbcd0f0 | 10 | shift->_apply_class_attributes(@_); |
88b7f2c8 | 11 | }; |
12 | ||
13 | 1; | |
04b89789 | 14 | |
0d0bf8c3 | 15 | # ABSTRACT: A trait that supports role application for roles with class attributes |
16 | ||
04b89789 | 17 | __END__ |
18 | ||
19 | =pod | |
20 | ||
04b89789 | 21 | =head1 DESCRIPTION |
22 | ||
23 | This trait is used to allow the application of roles containing class | |
24 | attributes. | |
25 | ||
04b89789 | 26 | =head1 BUGS |
27 | ||
28 | See L<MooseX::ClassAttribute> for details. | |
29 | ||
04b89789 | 30 | =cut |