« blib/lib/File/Corresponding/Config/Find.pm
↑ Summary
blib/lib/File/Corresponding/File/Profile.pm »
| 1 | |||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | File::Corresponding::File::Found - A file that was found in the file | ||
| 6 | system, given a matching profile | ||
| 7 | |||
| 8 | =cut | ||
| 9 | |||
| 10 | use strict; | ||
| 11 | package File::Corresponding::File::Found; | ||
| 12 | use Moose; | ||
| 13 | |||
| 14 | use Data::Dumper; | ||
| 15 | use MooseX::Types::Path::Class qw( Dir File ); | ||
| 16 | |||
| 17 | use File::Corresponding::File::Profile; | ||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | =head1 PROPERTIES | ||
| 22 | |||
| 23 | =head2 file : Path::Class | ||
| 24 | |||
| 25 | File that was found. | ||
| 26 | |||
| 27 | =cut | ||
| 28 | has file => ( | ||
| 29 | is => 'ro', | ||
| 30 | isa => File, | ||
| 31 | coerce => 1, | ||
| 32 | ); | ||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | =head2 matching_profile : File::Corresponding::File::Profile | ||
| 38 | |||
| 39 | Profile that was used to match against. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | has matching_profile => (is => 'ro', isa => 'File::Corresponding::File::Profile'); | ||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | 1; | ||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | __END__ |