Commit | Line | Data |
---|---|---|
33defd43 | 1 | package MXSimpleConfigTestBase; |
2 | use Moose; | |
3 | ||
4 | has 'inherited_ro_attr' => (is => 'ro', isa => 'Str'); | |
5 | ||
6 | no Moose; | |
7 | 1; | |
8 | ||
9 | package MXSimpleConfigTest; | |
10 | use Moose; | |
11 | extends 'MXSimpleConfigTestBase'; | |
12 | with 'MooseX::SimpleConfig'; | |
13 | ||
14 | has 'direct_attr' => (is => 'ro', isa => 'Int'); | |
15 | ||
16 | has 'req_attr' => (is => 'rw', isa => 'Str', required => 1); | |
17 | ||
18 | no Moose; | |
19 | 1; |