lib/Shell/Amazon/S3/Meta/Plugin.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 19 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Shell::Amazon::S3::Meta::Plugin;
2  
3 use Moose;
4  
5 extends 'Moose::Meta::Role';
6  
7 before 'apply' => sub {
8 my ( $self, $other ) = @_;
9 if ( my $pre = $self->get_method('BEFORE_PLUGIN') ) {
10 $pre->body->( $other, $self );
11 }
12 };
13  
14 after 'apply' => sub {
15 my ( $self, $other ) = @_;
16 if ( my $pre = $self->get_method('AFTER_PLUGIN') ) {
17 $pre->body->( $other, $self );
18 }
19 };
20  
21 1;