File Coverage

blib/lib/Markdent/Event/StartTable.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::StartTable;
2              
3 4     4   29 use strict;
  4         10  
  4         114  
4 4     4   20 use warnings;
  4         8  
  4         88  
5 4     4   27 use namespace::autoclean;
  4         11  
  4         21  
6              
7             our $VERSION = '0.39';
8              
9 4     4   711 use Markdent::Types;
  4         9  
  4         42  
10              
11 4     4   96064 use Moose;
  4         469681  
  4         40  
12 4     4   28343 use MooseX::StrictConstructor;
  4         22382  
  4         30  
13              
14             has caption => (
15             is => 'ro',
16             isa => t('Str'),
17             predicate => 'has_caption',
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 start of a table
27              
28             __END__
29              
30             =pod
31              
32             =encoding UTF-8
33              
34             =head1 NAME
35              
36             Markdent::Event::StartTable - An event for the start of a table
37              
38             =head1 VERSION
39              
40             version 0.39
41              
42             =head1 DESCRIPTION
43              
44             This class represents the start of a table.
45              
46             =head1 ATTRIBUTES
47              
48             This class has the following attributes:
49              
50             =head2 caption
51              
52             The caption for the table. This is optional.
53              
54             =head1 ROLES
55              
56             This class does the L<Markdent::Role::Event> role.
57              
58             =head1 BUGS
59              
60             See L<Markdent> for bug reporting details.
61              
62             Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>.
63              
64             I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>.
65              
66             =head1 SOURCE
67              
68             The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>.
69              
70             =head1 AUTHOR
71              
72             Dave Rolsky <autarch@urth.org>
73              
74             =head1 COPYRIGHT AND LICENSE
75              
76             This software is copyright (c) 2021 by Dave Rolsky.
77              
78             This is free software; you can redistribute it and/or modify it under
79             the same terms as the Perl 5 programming language system itself.
80              
81             The full text of the license can be found in the
82             F<LICENSE> file included with this distribution.
83              
84             =cut