File Coverage

blib/lib/MooseX/AttributeHelpers/Bool.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::Bool;
2 22     22   105 use Moose;
  22         30  
  22         147  
3              
4             our $VERSION = '0.25';
5              
6             extends 'Moose::Meta::Attribute';
7             with 'MooseX::AttributeHelpers::Trait::Bool';
8              
9 22     22   105127 no Moose;
  22         38  
  22         97  
10              
11             # register the alias ...
12             package # hide me from search.cpan.org
13             Moose::Meta::Attribute::Custom::Bool;
14 1     1   643 sub register_implementation { 'MooseX::AttributeHelpers::Bool' }
15              
16             1;
17              
18             __END__
19              
20             =pod
21              
22             =encoding UTF-8
23              
24             =head1 NAME
25              
26             MooseX::AttributeHelpers::Bool
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