77037755c5514d405577bfa5376b3c17444f6164
[gitmo/MooseX-SimpleConfig.git] / t / lib / MXDefaultWithSubConfigTest.pm
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;