File Coverage

blib/lib/Data/Localize/Format/Sprintf.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod 1 1 100.0
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Data::Localize::Format::Sprintf;
2             $Data::Localize::Format::Sprintf::VERSION = '0.001';
3 1     1   228571 use Moo;
  1         5697  
  1         4  
4              
5             extends 'Data::Localize::Format';
6              
7             sub format
8             {
9 1     1 1 223349 my ($self, $lang, $value, @args) = @_;
10              
11 1         15 return sprintf $value, @args;
12             }
13              
14             1;
15              
16             __END__