Commit | Line | Data |
---|---|---|
664e417b | 1 | package Moose::Meta::Method::Accessor::Native::Bool::not; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | ||
8b9641b8 | 6 | use Moose::Role; |
7 | ||
00bbc132 | 8 | with 'Moose::Meta::Method::Accessor::Native::Reader'; |
664e417b | 9 | |
664e417b | 10 | sub _maximum_arguments { 0 } |
11 | ||
12 | sub _return_value { | |
53a4677c | 13 | my $self = shift; |
14 | my ($slot_access) = @_; | |
664e417b | 15 | |
53a4677c | 16 | return '!' . $slot_access; |
664e417b | 17 | } |
18 | ||
19 | 1; |