File Coverage

blib/lib/PDF/Builder/Resource/Pattern.pm
Criterion Covered Total %
statement 9 13 69.2
branch n/a
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 13 18 72.2


line stmt bran cond sub pod time code
1             package PDF::Builder::Resource::Pattern;
2              
3 38     38   252 use base 'PDF::Builder::Resource';
  38         79  
  38         3563  
4              
5 38     38   235 use strict;
  38         82  
  38         719  
6 38     38   185 use warnings;
  38         62  
  38         3993  
7              
8             our $VERSION = '3.024'; # VERSION
9             our $LAST_UPDATE = '2.031'; # manually update whenever code is changed
10              
11             =head1 NAME
12              
13             PDF::Builder::Resource::Pattern - support stub for patterns. Inherits from L
14              
15             =cut
16              
17             sub new {
18 0     0 1   my ($class, $pdf, $name) = @_;
19              
20 0           my $self = $class->SUPER::new($pdf, $name);
21              
22 0           $self->type('Pattern');
23              
24 0           return $self;
25             }
26              
27             1;