From: Shawn M Moore Date: Tue, 2 Jun 2009 02:28:32 +0000 (-0400) Subject: Add doc for Trait::Base X-Git-Tag: 0.18_01~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4115eceb0b031813ae50397a9e5a23ed09d02455;p=gitmo%2FMooseX-AttributeHelpers.git Add doc for Trait::Base --- diff --git a/lib/MooseX/AttributeHelpers/Trait/Base.pm b/lib/MooseX/AttributeHelpers/Trait/Base.pm index 44bb4f9..2f8d2f4 100644 --- a/lib/MooseX/AttributeHelpers/Trait/Base.pm +++ b/lib/MooseX/AttributeHelpers/Trait/Base.pm @@ -82,8 +82,6 @@ before '_process_options' => sub { ## methods called after instantiation -# this confirms that provides (and curries) has -# all valid possibilities in it sub check_provides_values { my $self = shift; @@ -227,3 +225,43 @@ no Moose::Util::TypeConstraints; 1; +__END__ + +=head1 NAME + +MooseX::AttributeHelpers::Trait::Base - base role for helpers + +=head1 METHODS + +=head2 check_provides_values + +Confirms that provides (and curries) has all valid possibilities in it. + +=head2 process_options_for_provides + +Ensures that the type constraint (C) matches the helper type. + +=head1 BUGS + +All complex software has bugs lurking in it, and this module is no +exception. If you find a bug please either email me, or add the bug +to cpan-RT. + +=head1 AUTHORS + +Yuval Kogman + +Shawn M Moore + +Jesse Luehrs + +=head1 COPYRIGHT AND LICENSE + +Copyright 2007-2008 by Infinity Interactive, Inc. + +L + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut