Remove another empty class in the native array inheritance hierarchy
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Array / is_empty.pm
1 package Moose::Meta::Method::Accessor::Native::Array::is_empty;
2
3 use strict;
4 use warnings;
5
6 our $VERSION = '1.13';
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
9
10 use base 'Moose::Meta::Method::Accessor::Native::Reader';
11
12 sub _return_value {
13     my $self        = shift;
14     my $slot_access = shift;
15
16     return "\@{ $slot_access } ? 0 : 1";
17 }
18
19 1;