Status: Accepted
Owner: marianopeck
CC:
[hidden email],
[hidden email],
[hidden email]
Labels: Type-Enh Milestone-2.0
New issue 6514 by marianopeck: Add allDefinedExtensionMethods to RPackage
http://code.google.com/p/pharo/issues/detail?id=6514Since we have #allDefinedClasses, we should also have
#allDefinedExtensionMethods for compatibility with PackageInfo. Slice
coming soon
allDefinedExtensionMethods
"this method should return the same thing than PackageInfo >>
extensionMethods.
This raised another problem: When asking a PackageInfo for its extension
methods , it returns all extension methods included in this packageInfo and
in all sub-categories. We should provide such accessor to stay compatible."
| tmpMethods |
tmpMethods := OrderedCollection new.
self systemSubPackages do: [:tmpPackage |
tmpMethods addAll: tmpPackage extensionMethods.
].
^ tmpMethods addAll: self extensionMethods; yourself
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker