File Coverage

blib/lib/Geo/GoogleEarth/Pluggable/Constructor.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 13 15 86.6


line stmt bran cond sub pod time code
1             package Geo::GoogleEarth::Pluggable::Constructor;
2 7     7   50 use warnings;
  7         16  
  7         202  
3 7     7   31 use strict;
  7         16  
  7         137  
4 7     7   39 use base qw{Package::New};
  7         14  
  7         2992  
5              
6             our $VERSION='0.17';
7              
8             =head1 NAME
9              
10             Geo::GoogleEarth::Pluggable::Constructor - Geo::GoogleEarth::Pluggable Constructor package
11              
12             =head1 SYNOPSIS
13              
14             use base qw{Geo::GoogleEarth::Pluggable::Constructor};
15              
16             =head1 DESCRIPTION
17              
18             The is the constructor for all Geo::GoogleEarth::Pluggable packages.
19              
20             =head1 USAGE
21              
22             =head1 CONSTRUCTOR
23              
24             =head2 new
25              
26             my $document = Geo::GoogleEarth::Pluggable->new(key1=>value1,
27             key2=>[value=>{opt1=>val1}],
28             key3=>{value=>{opt2=>val2}});
29              
30             =head1 METHODS
31              
32             =head2 document
33              
34             Always returns the document object. Every object should know what document it is in.
35              
36             =cut
37              
38 0     0 1   sub document {shift->{"document"}};
39              
40             =head1 BUGS
41              
42             Please log on RT and send to the geo-perl email list.
43              
44             =head1 SUPPORT
45              
46             DavisNetworks.com supports all Perl applications including this package.
47              
48             =head1 AUTHOR
49              
50             Michael R. Davis (mrdvt92)
51             CPAN ID: MRDVT
52              
53             =head1 COPYRIGHT
54              
55             This program is free software licensed under the...
56              
57             The BSD License
58              
59             The full text of the license can be found in the LICENSE file included with this module.
60              
61             =head1 SEE ALSO
62              
63             L creates a GoogleEarth Document.
64              
65             =cut
66              
67             1;