File Coverage

blib/lib/Org/Element/TableHLine.pm
Criterion Covered Total %
statement 8 11 72.7
branch 0 2 0.0
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 12 18 66.6


line stmt bran cond sub pod time code
1             package Org::Element::TableHLine;
2              
3 5     5   1203 use 5.010;
  5         46  
4 5     5   28 use locale;
  5         69  
  5         34  
5 5     5   192 use Moo;
  5         49  
  5         36  
6             extends 'Org::Element';
7              
8             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
9             our $DATE = '2023-07-12'; # DATE
10             our $DIST = 'Org-Parser'; # DIST
11             our $VERSION = '0.559'; # VERSION
12              
13             sub as_string {
14 0     0 1   my ($self) = @_;
15 0 0         return $self->_str if $self->_str;
16 0           "|---\n";
17             }
18              
19             1;
20             # ABSTRACT: Represent Org table horizontal line
21              
22             __END__
23              
24             =pod
25              
26             =encoding UTF-8
27              
28             =head1 NAME
29              
30             Org::Element::TableHLine - Represent Org table horizontal line
31              
32             =head1 VERSION
33              
34             This document describes version 0.559 of Org::Element::TableHLine (from Perl distribution Org-Parser), released on 2023-07-12.
35              
36             =head1 DESCRIPTION
37              
38             Derived from L<Org::Element>.
39              
40             =head1 ATTRIBUTES
41              
42             =head1 METHODS
43              
44             =for Pod::Coverage as_string
45              
46             =head1 HOMEPAGE
47              
48             Please visit the project's homepage at L<https://metacpan.org/release/Org-Parser>.
49              
50             =head1 SOURCE
51              
52             Source repository is at L<https://github.com/perlancar/perl-Org-Parser>.
53              
54             =head1 AUTHOR
55              
56             perlancar <perlancar@cpan.org>
57              
58             =head1 CONTRIBUTING
59              
60              
61             To contribute, you can send patches by email/via RT, or send pull requests on
62             GitHub.
63              
64             Most of the time, you don't need to build the distribution yourself. You can
65             simply modify the code, then test via:
66              
67             % prove -l
68              
69             If you want to build the distribution (e.g. to try to install it locally on your
70             system), you can install L<Dist::Zilla>,
71             L<Dist::Zilla::PluginBundle::Author::PERLANCAR>,
72             L<Pod::Weaver::PluginBundle::Author::PERLANCAR>, and sometimes one or two other
73             Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond
74             that are considered a bug and can be reported to me.
75              
76             =head1 COPYRIGHT AND LICENSE
77              
78             This software is copyright (c) 2023, 2022, 2021, 2020, 2019, 2017, 2016, 2015, 2014, 2013, 2012, 2011 by perlancar <perlancar@cpan.org>.
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             =head1 BUGS
84              
85             Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Org-Parser>
86              
87             When submitting a bug or request, please include a test-file or a
88             patch to an existing test-file that illustrates the bug or desired
89             feature.
90              
91             =cut