Remove debugging cruft
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / is_empty.pm
CommitLineData
f7fd22b6 1package Moose::Meta::Method::Accessor::Native::Array::is_empty;
2
3use strict;
4use warnings;
5
efa728b4 6our $VERSION = '1.15';
f7fd22b6 7$VERSION = eval $VERSION;
8our $AUTHORITY = 'cpan:STEVAN';
9
8b9641b8 10use Moose::Role;
11
12with 'Moose::Meta::Method::Accessor::Native::Reader' =>
13 { -excludes => ['_maximum_arguments'] };
14
15sub _maximum_arguments { 0 }
f7fd22b6 16
17sub _return_value {
18 my $self = shift;
19 my $slot_access = shift;
20
21 return "\@{ $slot_access } ? 0 : 1";
22}
23
8b9641b8 24no Moose::Role;
25
f7fd22b6 261;