bump version to 1.19
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / uniq.pm
CommitLineData
910684ee 1package Moose::Meta::Method::Accessor::Native::Array::uniq;
2
3use strict;
4use warnings;
5
6use List::MoreUtils ();
7
245478d5 8our $VERSION = '1.19';
910684ee 9$VERSION = eval $VERSION;
10our $AUTHORITY = 'cpan:STEVAN';
11
8b9641b8 12use Moose::Role;
13
14with 'Moose::Meta::Method::Accessor::Native::Reader' =>
15 { -excludes => ['_maximum_arguments'] };
910684ee 16
a7821be5 17sub _maximum_arguments { 0 }
18
910684ee 19sub _return_value {
20 my $self = shift;
21 my $slot_access = shift;
22
1d06edbf 23 return "List::MoreUtils::uniq \@{ ($slot_access) }";
910684ee 24}
25
8b9641b8 26no Moose::Role;
27
910684ee 281;