File Coverage

blib/lib/Markdent/Event/EndTableCell.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             package Markdent::Event::EndTableCell;
2              
3 4     4   31 use strict;
  4         10  
  4         138  
4 4     4   26 use warnings;
  4         11  
  4         123  
5 4     4   23 use namespace::autoclean;
  4         10  
  4         32  
6              
7             our $VERSION = '0.38';
8              
9 4     4   368 use Markdent::Types;
  4         11  
  4         34  
10              
11 4     4   106152 use Moose;
  4         13  
  4         35  
12 4     4   29183 use MooseX::StrictConstructor;
  4         13  
  4         40  
13              
14             has is_header_cell => (
15             is => 'ro',
16             isa => t('Bool'),
17             default => 0,
18             );
19              
20             with 'Markdent::Role::Event' => { event_class => __PACKAGE__ };
21              
22             __PACKAGE__->meta()->make_immutable();
23              
24             1;
25              
26             # ABSTRACT: An event for the end of a table cell
27              
28             __END__
29              
30             =pod
31              
32             =encoding UTF-8
33              
34             =head1 NAME
35              
36             Markdent::Event::EndTableCell - An event for the end of a table cell
37              
38             =head1 VERSION
39              
40             version 0.38
41              
42             =head1 DESCRIPTION
43              
44             This class represents the end of a table cell.
45              
46             =head1 ROLES
47              
48             This class does the L<Markdent::Role::Event> role.
49              
50             =head1 ATTRIBUTES
51              
52             This class has the following attributes:
53              
54             =head2 is_header_cell
55              
56             A boolean indicating whether the cell is a header cell. This will be true for
57             all cells in the table's header, but can also be true for cells in the table's
58             body.
59              
60             =head1 BUGS
61              
62             See L<Markdent> for bug reporting details.
63              
64             Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>.
65              
66             I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>.
67              
68             =head1 SOURCE
69              
70             The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>.
71              
72             =head1 AUTHOR
73              
74             Dave Rolsky <autarch@urth.org>
75              
76             =head1 COPYRIGHT AND LICENSE
77              
78             This software is copyright (c) 2020 by Dave Rolsky.
79              
80             This is free software; you can redistribute it and/or modify it under
81             the same terms as the Perl 5 programming language system itself.
82              
83             The full text of the license can be found in the
84             F<LICENSE> file included with this distribution.
85              
86             =cut