File Coverage

blib/lib/MsgPack/Decoder/Generator/Nil.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 10 100.0


line stmt bran cond sub pod time code
1             package MsgPack::Decoder::Generator::Nil;
2             our $AUTHORITY = 'cpan:YANICK';
3             $MsgPack::Decoder::Generator::Nil::VERSION = '2.0.3';
4 3     3   1824 use Moose;
  3         7  
  3         23  
5 3     3   18857 use MooseX::MungeHas 'is_ro';
  3         7  
  3         28  
6              
7             extends 'MsgPack::Decoder::Generator';
8              
9 6     6   196 has '+bytes' => sub { 0 };
10              
11             has 'push_decoded' => (
12             trigger => sub { $_[0]->push_decoded->(undef) },
13             );
14              
15             1;
16              
17             __END__
18              
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             MsgPack::Decoder::Generator::Nil
26              
27             =head1 VERSION
28              
29             version 2.0.3
30              
31             =head1 AUTHOR
32              
33             Yanick Champoux <yanick@cpan.org>
34              
35             =head1 COPYRIGHT AND LICENSE
36              
37             This software is copyright (c) 2019, 2017, 2016, 2015 by Yanick Champoux.
38              
39             This is free software; you can redistribute it and/or modify it under
40             the same terms as the Perl 5 programming language system itself.
41              
42             =cut