Author: jonathan Date: Sun Mar 25 10:43:53 2007 New Revision: 17738 Modified: trunk/docs/pdds/draft/pdd15_objects.pod
Log: [PDD15]: Should mention add_method and method for both classes and roles. Modified: trunk/docs/pdds/draft/pdd15_objects.pod ============================================================================== --- trunk/docs/pdds/draft/pdd15_objects.pod (original) +++ trunk/docs/pdds/draft/pdd15_objects.pod Sun Mar 25 10:43:53 2007 @@ -281,6 +281,10 @@ optionally, a simple string value for type. {{ Conjectural: Actually, the simple string value alone won't cut it. We need to take a key there too? }} +=item add_method + +Adds a method to the class. + =item methods An accessor for the methods of the class. It returns a Hash of all methods, @@ -457,6 +461,15 @@ Adds a single role to the role. It takes a simple string name. +=item add_method + +Adds a method to the role. + +=item methods + +An accessor for the methods of the role. It returns a Hash of all methods, +with a key of the method name and a value of an invokable PMC. + =back