projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ee16bf2
)
Reword description of is_empty
Dave Rolsky [Fri, 4 Sep 2009 22:08:45 +0000 (17:08 -0500)]
lib/Moose/Meta/Attribute/Native/Trait/Array.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Attribute/Native/Trait/Array.pm
b/lib/Moose/Meta/Attribute/Native/Trait/Array.pm
index
cd12326
..
5f9b8e9
100644
(file)
--- a/
lib/Moose/Meta/Attribute/Native/Trait/Array.pm
+++ b/
lib/Moose/Meta/Attribute/Native/Trait/Array.pm
@@
-81,7
+81,7
@@
Returns the number of elements in the array.
=item B<is_empty>
-Returns a boolean value indicating whether or not the array has any elements.
+Returns a boolean value that is true when the array has no elements.
$stuff->has_no_options ? die "No options!\n" : print "Good boy.\n";