blib/lib/Dist/Zilla/Role/NameProvider.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Dist/Zilla/Role/ModuleMaker.pm ↑ Summary blib/lib/Dist/Zilla/Role/PrereqSource.pm »
1 package Dist::Zilla::Role::NameProvider 6.040;
2 # ABSTRACT: something that provides a name for the dist
3  
4 2 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 with 'Dist::Zilla::Role::Plugin';
6  
7 2 ▶use Dist::Zilla::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 #pod =head1 DESCRIPTION
10 #pod
11 #pod Plugins implementing this role must provide a C<provide_name> method that
12 #pod will be called when setting the dist's name.
13 #pod
14 #pod If a NameProvider offers a name but one has already been set, an
15 #pod exception will be raised. If C<provide_name> returns undef, it will be
16 #pod ignored.
17 #pod
18 #pod =cut
19  
20 2 requires 'provide_name';
21  
22 2 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 2 1;
24  
25 __END__
« blib/lib/Dist/Zilla/Role/ModuleMaker.pm ↑ Summary blib/lib/Dist/Zilla/Role/PrereqSource.pm »