TextMode/Format/Tundra.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« TextMode/Format/PCBoard.pm ↑ Summary TextMode/Format/XBin.pm »
1 package Image::TextMode::Format::Tundra;
2  
3 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use Types::Standard qw( HashRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 extends 'Image::TextMode::Format', 'Image::TextMode::Canvas';
7  
8 has 'header' => (
9 is => 'rw',
10 isa => HashRef,
11 3 ▶ default => sub { { int_id => 24, id => 'TUNDRA24' } }
Subroutine __ANON__: called CC=1 SCAR=0.0
12 3 );
13  
14 3 ▶has '+render_options' => ( default => sub { { truecolor => 1 } } );
Subroutine __ANON__: called CC=1 SCAR=0.0
15  
16 1 ▶sub extensions { return 'tnd' }
Subroutine extensions: called CC=1 SCAR=0.0
Pod documented
17  
18 =head1 NAME
19  
20 Image::TextMode::Format::Tundra - read and write Tundra files
21  
22 =head1 DESCRIPTION
23  
24 The Tundra format.
25  
26 =head1 ACCESSORS
27  
28 =over 4
29  
30 =item * header - A header hashref containing a version number and id
31  
32 =back
33  
34 =head1 METHODS
35  
36 =head2 new( %args )
37  
38 Creates a Tundra instance.
39  
40 =head2 extensions( )
41  
42 Returns 'tnd'.
43  
44 =head1 AUTHOR
45  
46 Brian Cassidy E<lt>bricas@cpan.orgE<gt>
47  
48 =head1 COPYRIGHT AND LICENSE
49  
50 Copyright 2008-2015 by Brian Cassidy
51  
52 This library is free software; you can redistribute it and/or modify
53 it under the same terms as Perl itself.
54  
55 =cut
56  
57 3 1;
« TextMode/Format/PCBoard.pm ↑ Summary TextMode/Format/XBin.pm »