File Coverage

blib/lib/Weasel/Element/Document.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             =head1 NAME
3              
4             Weasel::Element::Document - Weasel Document (root) element
5              
6             =head1 VERSION
7              
8             version 0.32
9              
10             =head1 SYNOPSIS
11              
12              
13              
14             =head1 DESCRIPTION
15              
16             The root element of the document tag tree: corresponds with the C<html>
17             tag of the HTML document.
18              
19             =cut
20              
21             =head1 DEPENDENCIES
22              
23              
24              
25             =cut
26              
27             package Weasel::Element::Document 0.32;
28              
29 2     2   2178 use strict;
  2         5  
  2         99  
30 2     2   13 use warnings;
  2         4  
  2         130  
31              
32 2     2   11 use Moose;
  2         4  
  2         14  
33             extends 'Weasel::Element';
34 2     2   9856 use namespace::autoclean;
  2         5  
  2         16  
35              
36             =head1 ATTRIBUTES
37              
38             =over
39              
40             =item _id
41              
42             Internal. Contains the reference to the in-browser element.
43              
44             =cut
45              
46             has '+_id' => (required => 0,
47             default => '/html');
48              
49             =back
50              
51             =cut
52              
53             =head1 SUBROUTINES/METHODS
54              
55             =cut
56              
57             =head1 AUTHOR
58              
59             Erik Huelsmann
60              
61             =head1 CONTRIBUTORS
62              
63             Erik Huelsmann
64             Yves Lavoie
65              
66             =head1 MAINTAINERS
67              
68             Erik Huelsmann
69              
70             =head1 BUGS AND LIMITATIONS
71              
72             Bugs can be filed in the GitHub issue tracker for the Weasel project:
73             https://github.com/perl-weasel/weasel/issues
74              
75             =head1 SOURCE
76              
77             The source code repository for Weasel is at
78             https://github.com/perl-weasel/weasel
79              
80             =head1 SUPPORT
81              
82             Community support is available through
83             L<perl-weasel@googlegroups.com|mailto:perl-weasel@googlegroups.com>.
84              
85             =head1 LICENSE AND COPYRIGHT
86              
87             (C) 2016-2023 Erik Huelsmann
88              
89             Licensed under the same terms as Perl.
90              
91             =cut
92              
93             __PACKAGE__->meta->make_immutable;
94              
95             1;