Construction/Role/Buffering.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Construction/Types.pm ↑ Summary Construction/Role/Object.pm »
1 package Math::Geometry::Construction::Role::Buffering;
2 15 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 15 ▶use 5.008008;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 15 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 C<Math::Geometry::Construction::Role::Buffering> - buffer results
11  
12 =head1 VERSION
13  
14 Version 0.018
15  
16 =cut
17  
18 15 our $VERSION = '0.018';
19  
20  
21 ###########################################################################
22 # #
23 # Accessors #
24 # #
25 ###########################################################################
26  
27 15 requires 'construction';
28  
29 has 'buffer' => (isa => 'HashRef[Any]',
30 is => 'bare',
31 traits => ['Hash'],
32 465 ▶ default => sub { {} },
Subroutine __ANON__: called CC=1 SCAR=0.0
33 15 handles => {delete_buffer => 'delete',
34 is_buffered => 'exists',
35 clear_buffer => 'clear',
36 buffer => 'accessor'});
37  
38 322 ▶sub clear_global_buffer {
Subroutine clear_global_buffer: called CC=1 SCAR=0.0
Pod documented
39 322 my ($self) = @_;
40  
41 322 $self->construction->clear_buffer;
42 }
43  
44 15 1;
45  
46  
47 __END__
« Construction/Types.pm ↑ Summary Construction/Role/Object.pm »