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.2';
4 3     3   1923 use Moose;
  3         7  
  3         25  
5 3     3   21427 use MooseX::MungeHas 'is_ro';
  3         8  
  3         30  
6              
7             extends 'MsgPack::Decoder::Generator';
8              
9 6     6   235 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.2
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