| 1 | #!/usr/bin/perl | ||
| 2 | package WWW::StatusBadge::Render::Plugin::RST; | ||
| 3 | 1 | $WWW::StatusBadge::Render::Plugin::RST::VERSION = '0.0.2'; | |
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 0 | ▶ | sub render { |
|
Subroutine
render: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 8 | 0 | my $self = shift; | |
| 9 | |||
| 10 | 0 | return sprintf('.. image:: %s :target: %s', $self->img, $self->url, ); | |
| 11 | } | ||
| 12 | |||
| 13 | 1 | 1; | |
| 14 | # ABSTRACT: ReStructuredText Status Badge renderer | ||
| 15 | # vim:ts=4:sw=4:syn=perl | ||
| 16 | |||
| 17 | __END__ | ||