projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f8fa564
)
Clarify that ->parents returns a list
Dave Rolsky [Mon, 19 Sep 2011 04:27:15 +0000 (23:27 -0500)]
lib/Moose/Meta/TypeConstraint.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/TypeConstraint.pm
b/lib/Moose/Meta/TypeConstraint.pm
index
b621375
..
206a0a6
100644
(file)
--- a/
lib/Moose/Meta/TypeConstraint.pm
+++ b/
lib/Moose/Meta/TypeConstraint.pm
@@
-566,8
+566,7
@@
Returns true if the type has a parent type.
=item B<< $constraint->parents >>
-A synonym for C<parent>. This is useful for polymorphism with types
-that can have more than one parent.
+Returns all of the types parents as an list of type constraint objects.
=item B<< $constraint->constraint >>