From: Shawn M Moore Date: Sun, 3 May 2009 18:47:35 +0000 (-0400) Subject: Doc for role_application methods X-Git-Tag: 0.78~29 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b90dd4efb05376361de7651f3d1fbfb60ac300a5;p=gitmo%2FMoose.git Doc for role_application methods --- diff --git a/lib/Moose/Meta/Class.pm b/lib/Moose/Meta/Class.pm index 11b75ab..de9da90 100644 --- a/lib/Moose/Meta/Class.pm +++ b/lib/Moose/Meta/Class.pm @@ -707,6 +707,18 @@ which are attached to this class. This takes a L object, and adds it to the class's list of roles. This I actually apply the role to the class. +=item B<< $metaclass->role_applications >> + +Returns an array reference of L +objects, which contain the arguments to role application. + +=item B<< $metaclass->add_role_application($application) >> + +This takes a L object, and +adds it to the class's list of role applications. This I +actually apply any role to the class; it is only for tracking role +applications. + =item B<< $metaclass->does_role($role_name) >> This returns a boolean indicating whether or not the class does the