X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FTypeConstraint%2FClass.pm;h=a484a2d13048a4f2b453f8c455e41bc193d22392;hb=2870fb091b5b844678277347a8c710dd58e005e6;hp=5148a5c8f6f335aa872c4e09e7636cc25dfdb449;hpb=ae2f99ea2b5f853ca3fa7204f5fefb0ce6ce22cd;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/TypeConstraint/Class.pm b/lib/Moose/Meta/TypeConstraint/Class.pm index 5148a5c..a484a2d 100644 --- a/lib/Moose/Meta/TypeConstraint/Class.pm +++ b/lib/Moose/Meta/TypeConstraint/Class.pm @@ -151,7 +151,7 @@ Returns the class name associated with the constraint. Returns all the type's parent types, corresponding to its parent classes. -=item B<< $constraint->is_a_subtype_of($type_name_or_object) >> +=item B<< $constraint->is_subtype_of($type_name_or_object) >> If the given type is also a class type, then this checks that the type's class is a subclass of the other type's class.