Issue 6513 in pharo: Add allDefinedExtensionMethods to RPackage

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 6513 in pharo: Add allDefinedExtensionMethods to RPackage

pharo
Status: Accepted
Owner: marianopeck
CC: [hidden email],  [hidden email],  [hidden email]
Labels: Type-Enh Milestone-2.0

New issue 6513 by marianopeck: Add allDefinedExtensionMethods to RPackage
http://code.google.com/p/pharo/issues/detail?id=6513

Since 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
Reply | Threaded
Open this post in threaded view
|

Re: Issue 6513 in pharo: Add allDefinedExtensionMethods to RPackage

pharo
Updates:
        Status: Duplicate
        Mergedinto: 6514

Comment #1 on issue 6513 by [hidden email]: Add  
allDefinedExtensionMethods to RPackage
http://code.google.com/p/pharo/issues/detail?id=6513

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker