projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
rename Hash->empty => is_empty
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Attribute
/
Native
/
MethodProvider
/
Hash.pm
diff --git
a/lib/Moose/Meta/Attribute/Native/MethodProvider/Hash.pm
b/lib/Moose/Meta/Attribute/Native/MethodProvider/Hash.pm
index
575e84f
..
9baffa1
100644
(file)
--- a/
lib/Moose/Meta/Attribute/Native/MethodProvider/Hash.pm
+++ b/
lib/Moose/Meta/Attribute/Native/MethodProvider/Hash.pm
@@
-59,7
+59,7
@@
sub count : method {
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 };
}