From: Chris Prather Date: Sun, 9 Aug 2009 20:46:41 +0000 (-0400) Subject: remove SYNOSPIS so Array looks like the other MethodProviders X-Git-Tag: 0.89_02~76 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9da49e131c5bb277968c7a0cce409ab9521b0051;p=gitmo%2FMoose.git remove SYNOSPIS so Array looks like the other MethodProviders --- diff --git a/lib/Moose/Meta/Attribute/Native/MethodProvider/Array.pm b/lib/Moose/Meta/Attribute/Native/MethodProvider/Array.pm index c07cf13..a056b5d 100644 --- a/lib/Moose/Meta/Attribute/Native/MethodProvider/Array.pm +++ b/lib/Moose/Meta/Attribute/Native/MethodProvider/Array.pm @@ -333,40 +333,11 @@ __END__ Moose::Meta::Attribute::Native::MethodProvider::Array -=head1 SYNOPSIS - - package Stuff; - use Moose; - use Moose::AttributeHelpers; - - has 'options' => ( - traits => ['Array'], - is => 'rw', - isa => 'ArrayRef[Str]', - default => sub { [] }, - auto_deref => 1, - handles => { - all_options => 'elements', - map_options => 'map', - filter_options => 'grep', - find_option => 'find', - first_option => 'first', - last_option => 'last', - get_option => 'get', - join_options => 'join', - count_options => 'count', - do_i_have_options => 'empty', - sorted_options => 'sort', - } - ); - - no Moose; - 1; - =head1 DESCRIPTION This is a role which provides the method generators for -L. Please check there for documentation on what methods are provided. +L. Please check there for +documentation on what methods are provided. =head1 METHODS