lib/Video/PlaybackMachine/FillProducer/StaticText.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
add_text
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Video::PlaybackMachine::FillProducer::StaticFrame;
2  
3 our $VERSION = '0.09'; # VERSION
4  
5 use Moo;
6  
7 extends 'Video::PlaybackMachine::FillProducer::TextFrame';
8  
9 has 'static_text' => ( 'is' => 'ro' );
10  
11 ##
12 ## add_text()
13 ##
14 ## Write our static text on the frame.
15 ##
16 sub add_text {
17 my ($self) = @_;
18  
19 $self->write_centered( $self->{'static_text'} );
20 }
21  
22 no Moo;
23  
24 1;