package Moose::Meta::Attribute::Native::MethodProvider::Hash;
use Moose::Role;
-our $VERSION = '0.89_01';
+our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
return sub { scalar CORE::keys %{ $reader->( $_[0] ) } };
}
-sub empty : method {
+sub is_empty : method {
my ( $attr, $reader, $writer ) = @_;
return sub { scalar CORE::keys %{ $reader->( $_[0] ) } ? 0 : 1 };
}
=head1 DESCRIPTION
This is a role which provides the method generators for
-L<Moose::Meta::Attribute::Trait::Native::Hash>. Please check there for
+L<Moose::Meta::Attribute::Native::Trait::Hash>. Please check there for
documentation on what methods are provided.
=head1 METHODS
=head1 BUGS
-All complex software has bugs lurking in it, and this module is no
-exception. If you find a bug please either email me, or add the bug
-to cpan-RT.
+See L<Moose/BUGS> for details on reporting bugs.
=head1 AUTHOR