File Coverage

blib/lib/Iterator/Flex/Role/Prev/Method.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Iterator::Flex::Role::Prev::Method;
2              
3             # ABSTRACT: Implement prev as a method
4              
5 1     1   174338 use v5.28;
  1         3  
6 1     1   5 use strict;
  1         2  
  1         24  
7 1     1   2 use warnings;
  1         2  
  1         116  
8              
9             our $VERSION = '0.34';
10              
11 1     1   390 use Role::Tiny;
  1         4907  
  1         5  
12              
13 1     1   540 use namespace::clean;
  1         13170  
  1         5  
14              
15              
16              
17              
18              
19              
20              
21              
22              
23              
24              
25             requires 'prev';
26              
27             *__prev__ = \&prev;
28              
29             1;
30              
31             #
32             # This file is part of Iterator-Flex
33             #
34             # This software is Copyright (c) 2018 by Smithsonian Astrophysical Observatory.
35             #
36             # This is free software, licensed under:
37             #
38             # The GNU General Public License, Version 3, June 2007
39             #
40              
41             __END__