From: Shawn M Moore Date: Tue, 2 Dec 2008 09:11:18 +0000 (+0000) Subject: Abstracts X-Git-Tag: 0.05~52 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d9e02904b2452dfcbbd103fd47287e266e0ca173;p=gitmo%2FMooseX-Role-Parameterized.git Abstracts --- diff --git a/lib/MooseX/Role/Parameterized.pm b/lib/MooseX/Role/Parameterized.pm index e39aeb6..8d3ee66 100644 --- a/lib/MooseX/Role/Parameterized.pm +++ b/lib/MooseX/Role/Parameterized.pm @@ -1,6 +1,6 @@ package MooseX::Role::Parameterized; -# ABSTRACT: parameterized roles, at long last +# ABSTRACT: parameterized roles use Moose ( extends => { -as => 'moose_extends' }, diff --git a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm index 363a398..510ce6e 100644 --- a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm +++ b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm @@ -2,6 +2,8 @@ package MooseX::Role::Parameterized::Meta::Role::Parameterizable; use Moose; extends 'Moose::Meta::Role'; +# ABSTRACT: metaclass for parameterizable roles + use MooseX::Role::Parameterized::Meta::Role::Parameterized; use MooseX::Role::Parameterized::Parameters; diff --git a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm index eba5d1a..44ff17b 100644 --- a/lib/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm +++ b/lib/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm @@ -2,6 +2,8 @@ package MooseX::Role::Parameterized::Meta::Role::Parameterized; use Moose; extends 'Moose::Meta::Role'; +# ABSTRACT: metaclass for parameterized roles + has parameters => ( is => 'rw', isa => 'MooseX::Role::Parameterized::Parameters', diff --git a/lib/MooseX/Role/Parameterized/Parameters.pm b/lib/MooseX/Role/Parameterized/Parameters.pm index 50c182d..ece5700 100644 --- a/lib/MooseX/Role/Parameterized/Parameters.pm +++ b/lib/MooseX/Role/Parameterized/Parameters.pm @@ -1,6 +1,8 @@ package MooseX::Role::Parameterized::Parameters; use Moose; +# ABSTRACT: base class for parameters + __PACKAGE__->meta->make_immutable; no Moose; diff --git a/lib/MooseX/Role/Parameterized/Tutorial.pm b/lib/MooseX/Role/Parameterized/Tutorial.pm index af18902..eab3c8d 100644 --- a/lib/MooseX/Role/Parameterized/Tutorial.pm +++ b/lib/MooseX/Role/Parameterized/Tutorial.pm @@ -1,11 +1,9 @@ package MooseX::Role::Parameterized::Tutorial; confess "Don't use this module, read it!"; -__END__ - -=head1 NAME +# ABSTRACT: why and how -MooseX::Role::Parameterized::Tutorial - why and how +__END__ =head1 MOTIVATION