File Coverage

blib/lib/WWW/Shopify/Liquid/Resolver.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 2 0.0
total 13 15 86.6


line stmt bran cond sub pod time code
1              
2 37     37   260 use strict;
  37         115  
  37         1081  
3 37     37   227 use warnings;
  37         93  
  37         3545  
4              
5             # Allows for contextual resolution of variables.
6             package WWW::Shopify::Liquid::Resolver;
7 3     3 0 9 sub resolver { return $_[0]->{resolver}; }
8             sub new {
9 87     87 0 1224 my ($package, $resolver) = @_;
10 87         741 return bless { resolver => $resolver }, $package;
11             }
12              
13             1;