File Coverage

blib/lib/Markdent/Role/EventAsText.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             package Markdent::Role::EventAsText;
2              
3 35     35   30682 use strict;
  35         96  
  35         1194  
4 35     35   195 use warnings;
  35         80  
  35         1136  
5 35     35   200 use namespace::autoclean;
  35         77  
  35         277  
6              
7             our $VERSION = '0.39';
8              
9 35     35   3057 use Moose::Role;
  35         72  
  35         323  
10              
11             requires 'as_text';
12              
13             1;
14              
15             # ABSTRACT: Indicates that an event has an as_text method
16              
17             __END__
18              
19             =pod
20              
21             =encoding UTF-8
22              
23             =head1 NAME
24              
25             Markdent::Role::EventAsText - Indicates that an event has an as_text method
26              
27             =head1 VERSION
28              
29             version 0.39
30              
31             =head1 DESCRIPTION
32              
33             An event with an as_text method will do this role.
34              
35             =head1 REQUIRED METHODS
36              
37             =over 4
38              
39             =item * $handler->as_text
40              
41             =back
42              
43             =head1 BUGS
44              
45             See L<Markdent> for bug reporting details.
46              
47             Bugs may be submitted at L<https://github.com/houseabsolute/Markdent/issues>.
48              
49             I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>.
50              
51             =head1 SOURCE
52              
53             The source code repository for Markdent can be found at L<https://github.com/houseabsolute/Markdent>.
54              
55             =head1 AUTHOR
56              
57             Dave Rolsky <autarch@urth.org>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2021 by Dave Rolsky.
62              
63             This is free software; you can redistribute it and/or modify it under
64             the same terms as the Perl 5 programming language system itself.
65              
66             The full text of the license can be found in the
67             F<LICENSE> file included with this distribution.
68              
69             =cut