X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FMethod%2FAccessor%2FNative%2FBool%2Fnot.pm;h=4f088cc54d26afddf41c9bb3b3da0991ad93d396;hb=bb09ad9144e7ee7b2cad8a90725267f591346406;hp=bd47084646d75b29a3d952aa0af62d24db9987cd;hpb=10bd99ecf3f1706d4452fa57e3f08a63b9f92a11;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Method/Accessor/Native/Bool/not.pm b/lib/Moose/Meta/Method/Accessor/Native/Bool/not.pm index bd47084..4f088cc 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Bool/not.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Bool/not.pm @@ -3,13 +3,15 @@ package Moose::Meta::Method::Accessor::Native::Bool::not; use strict; use warnings; -our $VERSION = '1.14'; +our $VERSION = '1.17'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Method::Accessor::Native::Reader'; +use Moose::Role; + +with 'Moose::Meta::Method::Accessor::Native::Reader' => + { -excludes => ['_maximum_arguments'] }; -sub _minimum_arguments { 0 } sub _maximum_arguments { 0 } sub _return_value {