File Coverage

blib/lib/Mojo/Rx/Utils.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 14 15 93.3


line stmt bran cond sub pod time code
1             package Mojo::Rx::Utils;
2 2     2   14 use strict;
  2         14  
  2         65  
3 2     2   10 use warnings FATAL => 'all';
  2         4  
  2         72  
4              
5 2     2   10 use Exporter 'import';
  2         9  
  2         188  
6             our @EXPORT_OK = qw/ get_subscription_from_subscriber /;
7              
8             our $VERSION = "v0.13.0";
9              
10 1     1 0 8 sub get_subscription_from_subscriber { $_[0]->{_subscription} }
11              
12             1;