projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c305a60
)
speling fix
Dave Rolsky [Thu, 2 Apr 2009 21:55:12 +0000 (16:55 -0500)]
lib/Moose/Util/TypeConstraints.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Util/TypeConstraints.pm
b/lib/Moose/Util/TypeConstraints.pm
index
6d902aa
..
b8f4bc2
100644
(file)
--- a/
lib/Moose/Util/TypeConstraints.pm
+++ b/
lib/Moose/Util/TypeConstraints.pm
@@
-1009,7
+1009,7
@@
recommend that you use a C<requires>-only Role instead.
If passed an ARRAY reference instead of the C<$name>, C<@methods>
pair, this will create an unnamed duck type. This can be used in an
-attribute definiton like so:
+attribute definition like so:
has 'cache' => (
is => 'ro',