From: Matt S Trout Date: Thu, 29 Mar 2012 19:51:21 +0000 (+0000) Subject: typo fix in does_role docs X-Git-Tag: v1.000000~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4aa82b106d37e0c30824160550d7337935d9715;p=gitmo%2FRole-Tiny.git typo fix in does_role docs --- diff --git a/Changes b/Changes index 2b634f3..1781477 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,4 @@ + - Minor doc fix to does_role - Split Role::Tiny out into its own dist Changes below this line are from when Role::Tiny was still bundled with Moo: diff --git a/lib/Role/Tiny.pm b/lib/Role/Tiny.pm index 7b6335d..40f8d0b 100644 --- a/lib/Role/Tiny.pm +++ b/lib/Role/Tiny.pm @@ -342,7 +342,7 @@ Returns true if class has been composed with role. This subroutine is also installed as ->does on any class a Role::Tiny is composed into unless that class already has an ->does method, so - if ($foo->does_role('Some::Role')) { + if ($foo->does('Some::Role')) { ... }