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   320235 use v5.28;
  1         3  
6 1     1   5 use strict;
  1         1  
  1         23  
7 1     1   3 use warnings;
  1         5  
  1         84  
8              
9             our $VERSION = '0.33';
10              
11 1     1   551 use Role::Tiny;
  1         6939  
  1         8  
12              
13 1     1   695 use namespace::clean;
  1         14319  
  1         6  
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__