File Coverage

blib/lib/OpenERP/OOM/Meta/Class/Trait/HasLink.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package OpenERP::OOM::Meta::Class::Trait::HasLink;
2 2     2   2509 use Moose::Role;
  2         5  
  2         13  
3              
4             =head1 NAME
5              
6             OpenERP::OOM::Meta::Class::Trait::HasLink
7              
8             =head1 DESCRIPTION
9              
10             A trait used internally for managing the links
11              
12             =head1 COPYRIGHT & LICENSE
13              
14             Copyright (C) 2011 OpusVL
15              
16             This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
17              
18             =cut
19              
20             has link => (
21             isa => 'HashRef',
22             is => 'rw',
23             default => sub {{}},
24             );
25              
26             1;