Commit | Line | Data |
---|---|---|
b80c2ec1 | 1 | package MXDefaultWithSubConfigTest; |
2 | use Moose; | |
3 | with 'MooseX::SimpleConfig'; | |
4 | ||
5 | use Path::Class::File; | |
6 | ||
7 | has 'direct_attr' => (is => 'ro', isa => 'Int'); | |
8 | ||
9 | has 'req_attr' => (is => 'rw', isa => 'Str', required => 1); | |
10 | ||
11 | has '+configfile' => ( default => sub { [ 'test.yaml' ] } ); | |
12 | #has '+configfile' => ( default => 'test.yaml' ); | |
13 | ||
14 | no Moose; | |
15 | 1; |