File Coverage

blib/lib/Image/TextMode/Format/ATASCII.pm
Criterion Covered Total %
statement 1 3 33.3
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 2 4 50.0


line stmt bran cond sub pod time code
1             package Image::TextMode::Format::ATASCII;
2              
3 1     1   1545 use Moose;
  0            
  0            
4              
5             extends 'Image::TextMode::Format', 'Image::TextMode::Canvas';
6              
7             use Image::TextMode::Font::Atari;
8             has '+font' => ( default => sub { Image::TextMode::Font::Atari->new } );
9              
10             use Image::TextMode::Palette::Atari;
11             has '+palette' => ( default => sub { Image::TextMode::Palette::Atari->new } );
12              
13             sub extensions { return 'ata' }
14              
15             no Moose;
16              
17             __PACKAGE__->meta->make_immutable;
18              
19             =head1 NAME
20              
21             Image::TextMode::Format::ATASCII - read ATASCII files
22              
23             =head1 DESCRIPTION
24              
25             ATASCII is a variant of ASCII used in Atari 8-bit home computers.
26              
27             =head1 METHODS
28              
29             =head2 new( %args )
30              
31             Creates a ATASCII instance.
32              
33             =head2 extensions( )
34              
35             Returns 'ata'.
36              
37             =head1 AUTHOR
38              
39             Brian Cassidy E<lt>bricas@cpan.orgE<gt>
40              
41             =head1 COPYRIGHT AND LICENSE
42              
43             Copyright 2008-2013 by Brian Cassidy
44              
45             This library is free software; you can redistribute it and/or modify
46             it under the same terms as Perl itself.
47              
48             =cut
49              
50             1;