class_of in Class type constraint
[gitmo/Moose.git] / lib / Moose / Meta / TypeConstraint / Role.pm
index 3262bf7..00b60ac 100644 (file)
@@ -7,7 +7,7 @@ use metaclass;
 use Scalar::Util 'blessed';
 use Moose::Util::TypeConstraints ();
 
-our $VERSION   = '0.72';
+our $VERSION   = '0.73';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
@@ -145,7 +145,7 @@ Returns the role name associated with the constraint.
 Returns all the type's parent types, corresponding to the roles that
 its role does.
 
-=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 role type, then this checks that the
 type's role does the other type's role.