File Coverage

blib/lib/MooseX/AttributeHelpers/Counter.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 10 100.0


line stmt bran cond sub pod time code
1             package MooseX::AttributeHelpers::Counter;
2 22     22   88 use Moose;
  22         27  
  22         140  
3              
4             our $VERSION = '0.25';
5              
6             extends 'Moose::Meta::Attribute';
7             with 'MooseX::AttributeHelpers::Trait::Counter';
8              
9 22     22   100358 no Moose;
  22         34  
  22         117  
10              
11             # register the alias ...
12             package # hide me from search.cpan.org
13             Moose::Meta::Attribute::Custom::Counter;
14 4     4   3069 sub register_implementation { 'MooseX::AttributeHelpers::Counter' }
15              
16             1;
17              
18             __END__
19              
20             =pod
21              
22             =encoding UTF-8
23              
24             =head1 NAME
25              
26             MooseX::AttributeHelpers::Counter
27              
28             =head1 VERSION
29              
30             version 0.25
31              
32             =head1 METHODS
33              
34             =over 4
35              
36             =item B<meta>
37              
38             =item B<method_provider>
39              
40             =item B<has_method_provider>
41              
42             =item B<helper_type>
43              
44             =item B<process_options_for_provides>
45              
46             Run before its superclass method.
47              
48             =item B<check_provides_values>
49              
50             Run after its superclass method.
51              
52             =back
53              
54             =head1 SUPPORT
55              
56             Bugs may be submitted through L<the RT bug tracker|https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-AttributeHelpers>
57             (or L<bug-MooseX-AttributeHelpers@rt.cpan.org|mailto:bug-MooseX-AttributeHelpers@rt.cpan.org>).
58              
59             There is also a mailing list available for users of this distribution, at
60             L<http://lists.perl.org/list/moose.html>.
61              
62             There is also an irc channel available for users of this distribution, at
63             L<C<#moose> on C<irc.perl.org>|irc://irc.perl.org/#moose>.
64              
65             =head1 AUTHOR
66              
67             Stevan Little <stevan@iinteractive.com>
68              
69             =head1 COPYRIGHT AND LICENSE
70              
71             This software is copyright (c) 2007 by Stevan Little and Infinity Interactive, Inc.
72              
73             This is free software; you can redistribute it and/or modify it under
74             the same terms as the Perl 5 programming language system itself.
75              
76             =cut