blib/lib/XML/NewsML_G2/Role/Writer/Package_Item.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« blib/lib/XML/NewsML_G2/Role/Writer/News_Message.pm ↑ Summary blib/lib/XML/NewsML_G2/Role/Writer_2_28.pm »
1 package XML::NewsML_G2::Role::Writer::Package_Item;
2  
3 2 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 with 'XML::NewsML_G2::Role::Writer';
7  
8 around '_build_g2_catalog_schemes' => sub {
9 1 ▶ my ( $orig, $self, @args ) = @_;
Subroutine __ANON__: called CC=1 SCAR=0.0
10 1 my $result = $self->$orig(@args);
11 1 $result->{group} = undef;
12 1 return $result;
13 2 };
14  
15 2 1;
16 __END__
17  
18 =head1 NAME
19  
20 XML::NewsML_G2::Role::Writer::Package_Item - Role for writing package items
21  
22 =head1 DESCRIPTION
23  
24 This module serves as a role for all NewsML-G2 writer classes and get automatically applied when the according news item type is written
25  
26 =head1 AUTHOR
27  
28 Christian Eder C<< <christian.eder@apa.at> >>
29  
30 =head1 LICENCE AND COPYRIGHT
31  
32 Copyright (c) 2014, APA-IT. All rights reserved.
33  
34 See L<XML::NewsML_G2> for the license.
« blib/lib/XML/NewsML_G2/Role/Writer/News_Message.pm ↑ Summary blib/lib/XML/NewsML_G2/Role/Writer_2_28.pm »