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 34     34   18850 use strict;
  34         90  
  34         1162  
4 34     34   229 use warnings;
  34         90  
  34         983  
5 34     34   214 use namespace::autoclean;
  34         73  
  34         242  
6              
7             our $VERSION = '0.38';
8              
9 34     34   2906 use Moose::Role;
  34         85  
  34         304  
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.38
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) 2020 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