File Coverage

blib/lib/App/StaticImageGallery/Style/Source/Dispatcher.pm
Criterion Covered Total %
statement 4 7 57.1
branch n/a
condition n/a
subroutine 2 3 66.6
pod 1 1 100.0
total 7 11 63.6


line stmt bran cond sub pod time code
1             package App::StaticImageGallery::Style::Source::Dispatcher;
2             BEGIN {
3 2     2   49 $App::StaticImageGallery::Style::Source::Dispatcher::VERSION = '0.002';
4             }
5              
6 2     2   2182 use App::StaticImageGallery::Style::Source::FromPackage;
  2         8  
  2         163  
7             # use App::StaticImageGallery::Style::Source::FromDir;
8             sub new {
9 0     0 1   my $class = shift;
10 0           my $self = {};
11             #
12             # my %args = @_;
13             #
14             # TODO: Write Dispatcher
15 0           return App::StaticImageGallery::Style::Source::FromPackage->new(@_);
16             }
17              
18             1;
19             __END__
20              
21             =head1 NAME
22              
23             App::StaticImageGallery::Style::Source::Dispatcher
24              
25             =head1 VERSION
26              
27             version 0.002
28              
29             =head1 DESCRIPTION
30              
31             =head1 SYNOPSIS
32              
33             =head1 METHODS
34              
35             =head2 new
36              
37             =head1 AUTHOR
38              
39             See L<App::StaticImageGallery/AUTHOR> and L<App::StaticImageGallery/CONTRIBUTORS>.
40              
41             =cut