Skip to content

Commit

Permalink
fix: properly collect classes from packages
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed May 9, 2024
1 parent 4e3c753 commit 41e972e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
class organization
classesInCategory: aCategory
^ (Smalltalk organization tagForCategory: aCategory)
ifNotNil: [ :tag |
tag classNames collect: [ :className | Smalltalk at: className ] ]
^ (Smalltalk organization packageMatchingExtensionName: aCategory)
ifNotNil: [ :package | package definedClasses ]
ifNil: [ #() ]

0 comments on commit 41e972e

Please sign in to comment.