>> If the class >> contains any method that sends #subclassResponsibility, the we >> consider the class as abstract.
Presence of abstract method in the metaclass is also necessary. -=-=-=-=-=-=-=-=-=-=-=-= ISSUE #1383: This issue proposes the addition of -two new methods in Behavior: allMethods and isAbstractClass. -one new method in Metaclass -two testing methods in BehaviorTest that test the allMethods and isAbstractClass allMethods returns the list of non-overrided compiled methods. Behavior already answer to allSelectors, allMethods was missing. isAbstractClass answers true if the receiving class or its metaclass contains or inherits an abstract method All tests in BehaviorTest are green. Tested in a pharo1.0-10491- rc1dev09.10.5 -=-=-=-=-=-=-=-=-=-=-=-= A .cs file is attached to the issue. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
