NAME
Pod::Coverage::mop -- Pod::Coverage subclass for mop
SYNOPSIS
use Test::More;
plan skip_all => 'Author test. Set $ENV{AUTHOR_TESTING} to a true value to run.' unless $ENV{AUTHOR_TESTING};
eval 'use Test::Pod::Coverage 1.00';
plan skip_all => 'Test::Pod::Coverage 1.00+ required for testing pod coverage' if $@;
eval 'use Pod::Coverage::mop';
plan skip_all => 'Pod::Coverage::mop required for testing pod coverage' if $@;
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::mop' });
DESCRIPTION
In the spirit of Pod::Coverage::Moose, here is a Pod::Coverage (actually Pod::Coverage::CountParents) subclass for mop-based classes.
ATTRIBUTES
None.
METHODS
_get_syms
This is overridden from Pod::Coverage::CountParents to return only the list of locally defined methods, i.e. those not defined by (other) roles or superclasses.
new (constructor)
It takes the same arguments as other Pod::Coverage classes. If mop::meta
does not return a usable value when called with the package name, we return a regular Pod::Coverage::CountParents object instead.
SEE ALSO
AUTHOR
Fabrice Gabolde <fabrice.gabolde@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2014 Fabrice Gabolde
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.